CommitSelectedRow - cCJGrid
Commits changes in a row (save or clear) without changing rows
Type: Function
Return Data Type: Boolean
Syntax
Function CommitSelectedRow Returns Boolean
Call Example
Get CommitSelectedRow to BooleanVariable
Description
CommitSelectedRow provides a way to commit changes in a row without actually changing the row. Anytime a row change occurs, any changes in the SelectedRow it must be committed. If pbAutoSave is True, the commit is a save; if false the commit is a clear (reset). CommitSelectedRow does the same type of commit without actually changing rows. If the commit fails, it returns false.
CommitSelectedRow may be called during an object exiting event to save changes in the current row. You may also wish to send this before performing an operation directly on your datasource data, ensuring that any changes you've made in the current row are properly saved or restored.
Return Value
Returns False if the commit failed.