servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy sSummary12%30%58%height: 30px;3Property Summaryservoy 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.A method that is executed before a record is created.A method that is executed before a delete operation.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.A method that is executed before search() is called on a foundset in find mode.A method that is executed before an update operation.voidA method that is executed before an insert operation.propertyservoy sDetail2100%height:30px2Property Detailscolumnsname
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
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonInsertname
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
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonSearchname
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
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonUpdatename
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
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonValidatename
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