SpreadJS Documentation
commandManager Method
GC.Spread.Sheets Namespace > Workbook type : commandManager Method
Gets the command manager.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: CommandManager
value = instance.commandManager();
function commandManager() : CommandManager;

Return Value

The command manager.
Example
This example executes a command that performs a specified action.
spread.options.allowUndo = true;
spread.commandManager().execute({cmd: "outlineRow", sheetName: "Sheet1", index: 3, count: 5});
See Also

Reference

Workbook type