SpreadJS Documentation
canUndo Method
GC.Spread.Commands Namespace > UndoManager class : canUndo Method
Gets whether the undo operation is allowed.
Syntax
var instance = new GC.Spread.Commands.UndoManager();
var value; // Type: boolean
value = instance.canUndo();
function canUndo() : boolean;

Return Value

true if the undo operation is allowed; otherwise, false.
See Also

Reference

UndoManager class