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