SpreadJS Documentation
allowUndo Method
Whether to allow undo actions.
Gets or sets a value that indicates whether to allow undo actions.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var returnValue; // Type: Object
returnValue = instance.allowUndo(value);
function allowUndo( 
   value : boolean
) : Object;

Parameters

value
Whether to allow undo actions.

Return Value

true if undo actions are allowed; otherwise, false.
Example
This example sets the active sheet to allow users to undo actions.
activeSheet.allowUndo(true);
Remarks
The default value is true.
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.