SMART datagrid v.1 > Classes > DataSet

[ grids ver.1.3.0]   Back  Forward

DataLudi.DataSet.undo  method

If call to change the value of data set, call history will be stored in Undo Stack, and if call this method, it will return the latest call. 

You can check whether Undoing is possible in current data set by calling canUndo

function undo ();
Returns
Void
Note
Code -1
    $('#undo').click(function () {
        dataset.redo();
    }
See Also
Undoing Overview
undoable
redo
canUndo
canRedo
clearUndo
onUndoStateChanged
redo
Examples
Undo & Redo