SMART datagrid v.1 > Classes > DataSet

[ grids ver.1.3.0]   Back  Forward

DataLudi.DataSet.undoable  property

If specify as true, you can Undo/Redo the changed values by calling data set API. 

If change this property during run time, the existing Undo stack will be initialized. In other words, the existing update history will not be Undone. 

Defaults to false.

Getter
function undoable(): Boolean
Setter
function setUndoable(value: Boolean)
Code -1
    $("chkUndo").click = function () {
        grid.setUndoable(this.checked);
        ds.setUndoable(this.checked);
    });
See Also
Undoing Overview
undo
redo
clearUndo
canUndo
canRedo
GridBase.undoable
Examples
Undo & Redo