var value; // Type: undo value = GC.Spread.Sheets.Commands.undo;
var undo : undo;
$("#button1").click(function () { if(spread.undoManager().canUndo()){ spread.undoManager().undo(); } }); $("#button2").click(function () { if(spread.undoManager().canRedo()){ spread.undoManager().redo(); } });
Commands type