GcSpread.Sheets Namespace > Spread type : allowUndo Method |
var instance = new GcSpread.Sheets.Spread(host, options); var returnValue; // Type: Object returnValue = instance.allowUndo(value);
function allowUndo( value : boolean ) : Object;
true
if the user can undo edits; otherwise, false
.spread.allowUndo(true); var group = new GcSpread.Sheets.UndoRedo.GroupExtent(3,5); var action = new GcSpread.Sheets.UndoRedo.RowGroupUndoAction(sheet,group); spread.doCommand(action);