SMART datagrid v.1 > Classes > DataSet
DataLudi.DataSet.redo method
If undo has ever been run before, it will rerun Undoing of just now.
You can check whether Redoing is possible in current data set by calling canRedo.
function redo ();
- Returns
- Void
- Note
- In grid application, it manages Undo stack of data set through the property or methods of Grid connected to this data set rather than data set. You can also call GridBase.redo rather than this function to do Redo of data set.
- If call this method to actually run Redoing, GridBase.onUndoStateChanged event will be fired.
Code -1
$('#redo').click(function () {
dataset.redo();
}
- See Also
- Undoing Overview
- undoable
- undo
- canUndo
- canRedo
- clearUndo
- onUndoStateChanged
- redo
- Examples
- Undo & Redo