commit(type)
When a user adds or changes a row in an editable table, the new or modified row is highlighted in color. To clear the highlight on these rows and remove them from the corresponding array returned by getFormRows, use the table's 'commit' function.
Parameters
type the type of rows to commit: ADDED, CHANGED,
DELETED, or the index of a particular row
Example
// Clear highlights on added rows, and remove them from
// array returned by getFormRows(ADDED).
Table1.commit(ADDED);
// Clear highlights on changed rows, and remove them from
// array returned by getFormRows(CHANGED).
Table1.commit(CHANGED);
// Removes deleted rows from array returned by
// getFormRows(DELETED).
Table1.commit(DELETED);
// Removes the row returned by getFormRows(idx) from the
// array of modified rows.
Table1.commit(idx);
See Also
Accessing User-Modified Data in a Table, for information on accessing user edits.
Table Properties: Advanced Tab, for information on making a table editable.
| << VS.3 Table | © 1996-2013 InetSoft Technology Corporation (v11.5) | data >> |