Child pages
  • Table

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Event Summary
Table Row (tr)
Table Cell (td)
 
Table Cell (td)onAfterCreate
styleindexdisplay:none

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.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

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

onAfterDelete
servoy sSummary12%30%58%height: 30px;3Event SummaryvoidA method that is executed after a new record is created. Table Row (tr)

Table Cell (td)
 
Table Cell (td)voidA method that is executed after a delete operation. Table Row (tr)
Table Cell (td)
 
Table Cell (td)onAfterFind
onAfterInsert
voidA method that is executed after a foundset has switched to find mode. Table Row (tr)
Table Cell (td)
 
Table Cell (td)voidA method that is executed after an insert operation. Table Row (tr)
Table Cell (td)
 
Table Cell (td)onAfterSearch
onAfterUpdate
voidA method that is executed after a search is executed for a foundset. Table Row (tr)
Table Cell (td)
 
Table Cell (td)onCreate
voidA method that is executed after an update operation. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)A method that is executed before a record is created. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)onDelete
A method that is executed before a delete operation. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)onFind
A method that is executed before a foundset is going into find mode. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)onInsert
.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 Row (tr)
Table Cell (td)
Boolean
Table Cell (td)onSearch
onUpdate
A method that is executed before search() is called on a foundset in find mode. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)A method that is executed before an update operation. HTML Table
idevent
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Event Details
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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.
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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.
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idonCreate
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
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
Table Row (tr)
classlastDetailRow
Table Cell (td) voidA method that is executed before an insert operation.

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