SpreadJS Documentation
undo Method
Performs an undo of the most recent edit or action.
Syntax
var value; // Type: any
value = GcSpread.Sheets.SpreadActions.undo();
function undo() : any;
Example
This example uses the undo or redo action.
var sheet = spread.getActiveSheet();
            $("#testUndo").click(function () {
                GcSpread.Sheets.SpreadActions.undo.apply(sheet);
            });
            $("#testRedo").click(function () {
               GcSpread.Sheets.SpreadActions.redo.apply(sheet);
            });
See Also

Reference

SpreadActions class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.