SpreadJS 13
GC.Spread.Sheets.Commands Namespace / undo type
In This Topic
    undo type
    In This Topic
    Represents the command used to perform an undo of the most recent edit or action.
    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();
         }
    });
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.Commands.undo

    See Also