SMART datagrid v.1 > Classes > DataSet

[ grids ver.1.3.0]   Back  Forward

DataLudi.DataSet.clearUndo  method

Empty and initialize Undo Stack of data set. 

If change undoable rather than calling this method, it will internally empty and initialize the stack. 

function clearUndo ();
Returns
Void
Note
Code -1
    $("#btnClear").click = function () {
        dataSet.clearUndo(true);
    };
See Also
Undoing Overview
undoable
canRedo
canUndo
undo
redo
GridBase.clearUndo
GridBase.onUndoStateChanged
Examples
Undo & Redo