getFormRows([type])
|
Access the Most Recent User Modification for general information about Table editing. |
For an Editable Table, retrieves the rows that have been modified by the user. The optional type parameter specifies the set of rows to return, and can be provided in string form (e.g., 'added') or constant form (e.g., ADDED). Omit the parameter to return all rows in table.
See Table Properties or form for information on how to make a Table editable.
Parameters
- type
-
ADDED: return new rows inserted by user
CHANGED: return old rows modified by user
DELETED: return old rows deleted by user
OLD: return all old rows
Example
var allRows = Table1.getFormRows();
var addedRows = Table1.getFormRows(ADDED);
var changedRows = Table1.getFormRows(CHANGED);
var deletedRows = Table1.getFormRows(DELETED);
var oldRows = Table1.getFormRows(OLD);
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |