SMART datagrid v.1 > Classes > DataSet
If it is the same as the stored value when check the state of changed row, it will return the state.
Among the rows which are specified by parameter rows, if the values of UPDATED row is the same as the values stored before change, it will return the state as NONE. If do not specify rows, it will check all rows.
$('#restore').click(function () {
// Restore from the selected rows.
dataset.restoreUpdateStates(grid.getSelectedDataIndices());
// Restore from all rows.
dataset.restoreUpdateStates();
// Restore one row.
dataset.restoreUpdateStates(11);
}