SMART datagrid v.1 > Classes > DataSet

Back  Forward

DataLudi.DataSet.restoreMode  property

The way to restore the state of updated row. 

It is specified by DataRestoreMode constant. If the value is not NONE, when updating the row, it will store the existing values to use when restoring automatically or calling restoreUpdatedRows to restore. 

Defaults to RestoreMode.NONE.

Getter
function restoreMode(): DataRestoreMode
Setter
function setRestoreMode(value: DataRestoreMode)
Code -1
    dataset.setRestoreMode("explicit");
    /*Change RowState of Row which has returned to the value before updating as NONE.*/
    dataset.restoreUpdatedRows();
See Also
strictRestore
DataRestoreMode
Examples
Restore Data Rows