Skip to end of metadata
Go to start of metadata

Refresh page Aug 12, 2019 13:12

Supported Clients
SmartClient WebClient NGClient

Property Summary
Object columns

Event Summary
void onAfterCreate(record) A method that is executed after a new record is created.
void onAfterDelete(record) A method that is executed after a delete operation.
void onAfterFind() A method that is executed after a foundset has switched to find mode.
void onAfterInsert(record) A method that is executed after an insert operation.
void onAfterSearch() A method that is executed after a search is executed for a foundset.
void onAfterUpdate(record) A method that is executed after an update operation.
Boolean onCreate() A method that is executed before a record is created.
Boolean onDelete(record) A method that is executed before a delete operation.
Boolean onFind() A method that is executed before a foundset is going into find mode.
void onFoundSetLoad(inMemName) A method that is executed when an in memory table is first touched (by ui or scripting)
Boolean onInsert(record) A method that is executed before an insert operation.
Boolean onSearch(clearLastResults, reduceSearch) A method that is executed before search() is called on a foundset in find mode.
Boolean onUpdate(record) A method that is executed before an update operation.

Property Details

columns

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

Event Details

onAfterCreate(record)

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

Parameters

JSRecord record record that is created

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterDelete(record)

A method that is executed after a delete operation.

Parameters

JSRecord record record that is deleted

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterFind()

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

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterInsert(record)

A method that is executed after an insert operation.

Parameters

JSRecord record record that is inserted

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterSearch()

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

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterUpdate(record)

A method that is executed after an update operation.

Parameters

JSRecord record record that is updated

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onCreate()

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

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onDelete(record)

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

Parameters

JSRecord record record that will be deleted

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onFind()

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

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onFoundSetLoad(inMemName)

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

Parameters

String inMemName The in memory table name that is touched.

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onInsert(record)

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

Parameters

JSRecord record record that will be inserted

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onSearch(clearLastResults, reduceSearch)

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).

Parameters

Boolean clearLastResults ;
Boolean reduceSearch ;

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onUpdate(record)

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

Parameters

JSRecord record record that will be updated

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

  • No labels