SpreadJS Documentation
doCommand Method
The command to perform.
Performs a command.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var value; // Type: any
value = instance.doCommand(action);
function doCommand( 
   action : ActionBase
) : any;

Parameters

action
The command to perform.
Example
This example executes a command that performs a specified action.
spread.allowUndo(true);
var group = new GcSpread.Sheets.UndoRedo.GroupExtent(3,5);
var action = new GcSpread.Sheets.UndoRedo.RowGroupUndoAction(sheet,group);
spread.doCommand(action);
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.