Table Node
Last updated
Was this helpful?
Last updated
Was this helpful?
The Table
object supports defining table-level events such as onCreate
, onUpdate
, and onDelete
. These methods can control operations by allowing or preventing actions based on custom logic. For instance, onValidate
can validate a record before insertion, while onAfterInsert
is triggered post-insertion for additional operations.
Additionally, events like onSearch
and onFind
enable customization of foundset searches. Events such as onFoundSetLoad
and onFoundsetNextChunk
are useful for managing in-memory or view-based datasets.
The columns
property allows for detailed configuration and interaction with the database schema.
For a broader understanding of database-level features and capabilities, refer to the documentation.
void
A method that is executed after a new record is created.
void
A method that is executed after a delete operation.
void
A method that is executed after a foundset has switched to find mode.
void
A method that is executed after an insert operation.
void
A method that is executed after a search is executed for a foundset.
void
A 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.
A method that is executed before a foundset selection change operation.
void
A 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.
void
A method that is executed before an insert operation.
A method that is executed after a new record is created.
Parameters
Returns: void
A method that is executed after a delete operation.
Parameters
Returns: void
A method that is executed after a foundset has switched to find mode.
Returns: void
A method that is executed after an insert operation.
Parameters
Returns: void
A method that is executed after a search is executed for a foundset.
Returns: void
A method that is executed after an update operation.
Parameters
Returns: void
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.
Parameters
A method that is executed before a foundset is going into find mode. The method can block the mode change.
A method that is executed before a foundset selection change operation. The method can cancel the selection change operation by returning false.
Parameters
A method that is executed when an in memory or viewfoundset table is first touched (by ui or scripting)
Parameters
Returns: void
A method that can be used to load extra data in an in memory datasource.
This method id called when the inMem datasource is fully read.
Parameters
A method that is executed before an insert operation. The method can block the insert operation by returning false.
Parameters
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
A method that is executed before an update operation. A method can block the update by returning false.
Parameters
A method that is executed before an insert operation. The method can block the insert operation by returning false.
Parameters
Returns: void
Type
record record that is created
record record that is deleted
record record that is inserted
record record that is updated
Returns:
record record that will be deleted
Returns:
Returns:
oldSelection array with selected records
newSelection array with records that will become selected
Returns:
memOrViewName The in memory or view foundset table name that is touched.
inmemDataSourceName name of the inmemory datasource.
sizeHint preferred number of records to be retrieved.
Returns:
record record that will be inserted
recordMarkers the object where all the problems can be reported against
stateObject an object that a user can give to validateRecord for extra state (optional, can be null).
Returns:
clearLastResults ;
reduceSearch ;
Returns:
record record that will be updated
recordMarkers the object where all the problems can be reported against
stateObject an object that a user can give to validateRecord for extra state (optional, can be null).
Returns:
record record that must be validated
recordMarkers the object where all the problems can be reported against.
stateObject an object that a user can give to validateRecord for extra state (optional, can be null).