Supported Clients
SmartClient
WebClient
NGClient

Property Summary
Object
columns

Event Summary
onAfterCreate(record)
A method that is executed after a new record is created.
onAfterDelete(record)
A method that is executed after a delete operation.
onAfterFind()
A method that is executed after a foundset has switched to find mode.
onAfterInsert(record)
A method that is executed after an insert operation.
onAfterSearch()
A method that is executed after a search is executed for a foundset.
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.
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

Object

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

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterDelete(record)

A method that is executed after a delete operation.

Parameters

JSRecord
record
record that is deleted

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterFind()

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

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterInsert(record)

A method that is executed after an insert operation.

Parameters

JSRecord
record
record that is inserted

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterSearch()

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

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

onAfterUpdate(record)

A method that is executed after an update operation.

Parameters

JSRecord
record
record that is updated

Returns

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

Boolean

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

Boolean

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

Boolean

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

Boolean

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

Boolean

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

Boolean

Supported Clients

SmartClient,WebClient,NGClient

Sample