GC.Spread.Sheets Namespace > Commands type : undo Field |
true
if this is an undo operation; otherwise, false
.var undo : undo;
$("#button1").click(function () { if(spread.undoManager().canUndo()){ spread.undoManager().undo(); } }); $("#button2").click(function () { if(spread.undoManager().canRedo()){ spread.undoManager().redo(); } });