SpreadJS Documentation
clear Method
GC.Spread.Commands Namespace > UndoManager class : clear Method
Clears all of the undo stack and the redo stack.
Syntax
var instance = new GC.Spread.Commands.UndoManager();
var value; // Type: any
value = instance.clear();
function clear() : any;
See Also

Reference

UndoManager class