{div:style=display: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.\\ \\ Enter additional information related to this 'class' inside the \{div} macro with 'id=description'{div}
{div:id=description}{div}\\
{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Event Summary{th}{tr}{tbody}{tr}{td}{td}{td}[#onAfterCreate]
A method that is executed after a new record is created.{td}{tr}{tbody}{tbody}{tr}{td}{td}{td}[#onAfterDelete]
A method that is executed after a delete operation.{td}{tr}{tbody}{tbody}{tr}{td}{td}{td}[#onAfterFind]
A method that is executed after a foundset has switched to find mode.{td}{tr}{tbody}{tbody}{tr}{td}{td}{td}[#onAfterInsert]
A method that is executed after an insert operation.{td}{tr}{tbody}{tbody}{tr}{td}{td}{td}[#onAfterSearch]
A method that is executed after a search is executed for a foundset.{td}{tr}{tbody}{tbody}{tr}{td}{td}{td}[#onAfterUpdate]
A method that is executed after an update operation.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#onCreate]
A method that is executed before a record is created.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#onDelete]
A method that is executed before a delete operation.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#onFind]
A method that is executed before a foundset is going into find mode.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#onInsert]
A method that is executed before an insert operation.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#onSearch]
A method that is executed before search() is called on a foundset in find mode.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#onUpdate]
A method that is executed before an update operation.{td}{tr}{tbody}{table}\\
{table:id=event|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Event Details{th}{tr}{tbody:id=onAfterCreate-JSRecord}{tr:id=name}{td}h6.onAfterCreate{td}{tr}{tr:id=des}{td}{div:class=sIndent}
Cache
index
true
refresh
100d
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Enable
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 is executed after a new record is created.
{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[JSRecord]} record -- record that is created
{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onAfterDelete-JSRecord}{tr:id=name}{td}h6.onAfterDelete{td}{tr}{tr:id=des}{td}{div:class=sIndent}prs
Parameters
sIndentrecordrecord that is createdclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonAfterDeletename
onAfterDelete(record)
dessIndent
A method that is executed after a delete operation.
{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[JSRecord]} record -- record that is deleted
{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onAfterFind}{tr:id=name}{td}h6.onAfterFind{td}{tr}{tr:id=des}{td}{div:class=sIndent}prs
Parameters
sIndentrecordrecord that is deletedclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonAfterFindname
onAfterFind()
dessIndent
A method that is executed after a foundset has switched to find mode.
A method that is executed after an insert operation.
{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[JSRecord]} record -- record that is inserted
{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onAfterSearch}{tr:id=name}{td}h6.onAfterSearch{td}{tr}{tr:id=des}{td}{div:class=sIndent}prs
Parameters
sIndentrecordrecord that is insertedclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonAfterSearchname
onAfterSearch()
dessIndent
A method that is executed after a search is executed for a foundset.
A method that is executed after an update operation.
{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[JSRecord]} record -- record that is updated
{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onCreate}{tr:id=name}{td}h6.onCreate{td}{tr}{tr:id=des}{td}{div:class=sIndent}prs
Parameters
sIndentrecordrecord that is updatedclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonCreatename
onCreate()
dessIndent
A method that is executed before a record is created. The method can block the creation by returning false.
A method that is executed before a delete operation. The method can block the delete operation by returning false.
{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[JSRecord]} record -- record that will be deleted
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onFind}{tr:id=name}{td}h6.onFind{td}{tr}{tr:id=des}{td}{div:class=sIndent}prs
Parameters
sIndentrecordrecord that will be deletedret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowonFindname
onFind()
dessIndent
A method that is executed before a foundset is going into find mode. The method can block the mode change.
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.
{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[JSRecord]} record -- record that will be inserted
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onSearch-Boolean_Boolean}{tr:id=name}{td}h6.onSearch{td}{tr}{tr:id=des}{td}{div:class=sIndent}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).
A method that is executed before an update operation. A method can block the update by returning false.
{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[JSRecord]} record -- record that will be updated
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}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