Child pages
  • Table

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
Divcache
styleindexdisplay:none

...

iddescription

...

padding0px
width80px

...

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Event Summary

...

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Property Summary

servoy sSummary12%30%58%height: 30px;3Event SummaryvoidA method that is executed after a new record is created.

...

voidA method that is executed after a delete operation.

...

voidA method that is executed after a foundset has switched to find mode.

...

voidA method that is executed after an insert operation.

...

voidA method that is executed after a search is executed for a foundset.

...

voidA method that is executed after an update operation.

...

Table Cell (td)
Boolean

...

Table Cell (td)
Boolean

...

A method that is executed before a record is created.

...

A method that is executed before a delete operation.

...

Table Cell (td)
Boolean

...

Table Cell (td)
Boolean

...

A method that is executed before a foundset is going into find mode.

...

voidA method that is executed when an in memory or viewfoundset table is first touched (by ui or scripting)A method that can be used to load extra data in an in memory datasource.A method that is executed before an insert operation.

...

Table Cell (td)
Boolean

...

Table Cell (td)
Boolean

...

A method that is executed before search() is called on a foundset in find mode.

...

Table Row (tr)
idname
Table Cell (td)
onCreate
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed before a record is created. The method can block the creation by returning false.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Boolean

...

classlastDetailRow

...

idonDelete-JSRecord
Table Row (tr)
idname
Table Cell (td)
onDelete
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed before a delete operation. The method can block the delete operation by returning false.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{JSRecord} record - record that will be deleted
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Boolean

...

classlastDetailRow

...

idonFind
Table Row (tr)
idname
Table Cell (td)
onFind
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed before a foundset is going into find mode. The method can block the mode change.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Boolean

...

classlastDetailRow

...

idonInsert-JSRecord
Table Row (tr)
idname
Table Cell (td)
onInsert
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed before an insert operation. The method can block the insert operation by returning false.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{JSRecord} record - record that will be inserted
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Boolean

...

classlastDetailRow

...

idonSearch-Boolean_Boolean
Table Row (tr)
idname
Table Cell (td)
onSearch
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed before search() is called on a foundset in find mode. The method can block the search (foundset will stay in find mode).
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{Boolean} clearLastResults
{Boolean} reduceSearch
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Boolean

...

classlastDetailRow

...

idonUpdate-JSRecord
Table Row (tr)
idname
Table Cell (td)
onUpdate
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed before an update operation. A method can block the update by returning false.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{JSRecord} record - record that will be updated
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Boolean

...

classlastDetailRow

...

A method that is executed before an update operation.voidA method that is executed before an insert operation.

...

idevent
classservoy sDetail

...

padding0px
width100%
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Event Details

...

idonAfterCreate-JSRecord
Table Row (tr)
idname
Table Cell (td)
onAfterCreate
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed after a new record is created.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{JSRecord} record - record that is created

...

classlastDetailRow

...

idonAfterDelete-JSRecord
Table Row (tr)
idname
Table Cell (td)
onAfterDelete
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed after a delete operation.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{JSRecord} record - record that is deleted

...

classlastDetailRow

...

idonAfterFind
Table Row (tr)
idname
Table Cell (td)
onAfterFind
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed after a foundset has switched to find mode.

...

classlastDetailRow

...

idonAfterInsert-JSRecord
Table Row (tr)
idname
Table Cell (td)
onAfterInsert
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed after an insert operation.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{JSRecord} record - record that is inserted

...

classlastDetailRow

...

idonAfterSearch
Table Row (tr)
idname
Table Cell (td)
onAfterSearch
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed after a search is executed for a foundset.

...

classlastDetailRow

...

idonAfterUpdate-JSRecord
Table Row (tr)
idname
Table Cell (td)
onAfterUpdate
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A method that is executed after an update operation.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{JSRecord} record - record that is updated

...

classlastDetailRow

...

idonCreate

propertyservoy sDetail2100%height:30px2Property Detailscolumnsname

columns

dessIndentret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow

eventservoy sDetail2100%height:30px2Event DetailsonAfterCreatename

onAfterCreate(record)

dessIndent
A method that is executed after a new record is created.
prs

Parameters

sIndentrecordrecord that is created
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowonAfterDeletename

onAfterDelete(record)

dessIndent
A method that is executed after a delete operation.
prs

Parameters

sIndentrecordrecord that is deleted
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onAfterFindname

onAfterFind()

dessIndent
A method that is executed after a foundset has switched to find mode.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onAfterInsertname

onAfterInsert(record)

dessIndent
A method that is executed after an insert operation.
prs

Parameters

sIndentrecordrecord that is inserted
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onAfterSearchname

onAfterSearch()

dessIndent
A method that is executed after a search is executed for a foundset.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onAfterUpdatename

onAfterUpdate(record)

dessIndent
A method that is executed after an update operation.
prs

Parameters

sIndentrecordrecord that is updated
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onCreatename

onCreate()

dessIndent
A method that is executed before a record is created. The method can block the creation by returning false.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onDeletename

onDelete(record)

dessIndent
A method that is executed before a delete operation. The method can block the delete operation by returning false.
prs

Parameters

sIndentrecordrecord that will be deleted
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onFindname

onFind()

dessIndent
A method that is executed before a foundset is going into find mode. The method can block the mode change.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onFoundSetLoadname

onFoundSetLoad(memOrViewName)

dessIndent
A method that is executed when an in memory or viewfoundset table is first touched (by ui or scripting)
prs

Parameters

sIndentmemOrViewNameThe in memory or view foundset table name that is touched.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onFoundsetNextChunkname

onFoundsetNextChunk(inmemDataSourceName, sizeHint)

dessIndent
A method that can be used to load extra data in an in memory datasource.
<p>
This method id called when the inMem datasource is fully read.
prs

Parameters

sIndentinmemDataSourceNamename of the inmemory datasource.sizeHintpreferred number of records to be retrieved.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onInsertname

onInsert(record, recordMarkers, stateObject)

dessIndent
A method that is executed before an insert operation. The method can block the insert operation by returning false.
prs

Parameters

sIndentrecordrecord that will be insertedrecordMarkersthe object where all the problems can be reported againststateObjectan object that a user can give to validateRecord for extra state (optional, can be null).
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onSearchname

onSearch(clearLastResults, reduceSearch)

dessIndent
A method that is executed before search() is called on a foundset in find mode. The method can block the search (foundset will stay in find mode).
prs

Parameters

sIndentclearLastResults ;reduceSearch ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onUpdatename

onUpdate(record, recordMarkers, stateObject)

dessIndent
A method that is executed before an update operation. A method can block the update by returning false.
prs

Parameters

sIndentrecordrecord that will be updatedrecordMarkersthe object where all the problems can be reported againststateObjectan object that a user can give to validateRecord for extra state (optional, can be null).
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
onValidatename

onValidate(record, recordMarkers, stateObject)

dessIndent
A method that is executed before an insert operation. The method can block the insert operation by returning false.
prs

Parameters

sIndentrecordrecord that must be validatedrecordMarkersthe object where all the problems can be reported against.stateObjectan object that a user can give to validateRecord for extra state (optional, can be null).
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow