Spread.Sheets Documentation
undo Field
GC.Spread.Sheets Namespace > Commands type : undo Field
Represents the command used to perform an undo of the most recent edit or action.
Syntax
var value; // Type: undo
value = GC.Spread.Sheets.Commands.undo;
var undo : undo;
Example
This example uses the undo or redo action.
$("#button1").click(function () {
                if(spread.undoManager().canUndo()){
                    spread.undoManager().undo();
                }
            });

            $("#button2").click(function () {
                if(spread.undoManager().canRedo()){
                    spread.undoManager().redo();
                }
            });
See Also

Reference

Commands type