Handsontable UndoRedo plugin allows to undo and redo certain actions done in the table.
Note, that not all actions are currently undo-able. The UndoRedo plugin is enabled by default.
Example
undo: true
Methods
-
clear()
-
Clears undo history.
-
isRedoAvailable(){Boolean}
-
Checks if redo action is available.
Returns: {Boolean} Return
true
if redo can be performed,false
otherwise. -
isUndoAvailable(){Boolean}
-
Checks if undo action is available.
Returns: {Boolean} Return
true
if undo can be performed,false
otherwise. -
redo()
-
Redo the previous action performed to the table (used to reverse an undo).
Fires:
-
undo()
-
Undo the last action performed to the table.
Fires: