SMART datagrid v.1 > Classes > DataSet

[ grids ver.1.3.0]   Back  Forward

DataLudi.DataSet.canRedo  method

When undoable is true, if the history of changing data set value exists and undo has ever run, it will return true

You can check whether Undoing is possible by canUndo method. 

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