Spread.Sheets Documentation
outlineRow Field
Represents the command for grouping a row outline (range group) on a sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.index {number} The outline starting index.
* options.count {number} The number of rows or columns to group or ungroup in the outline.
isUndo {boolean} true if this is an undo operation; otherwise, false.
Syntax
var value; // Type: outlineRow
value = GC.Spread.Sheets.Commands.outlineRow;
var outlineRow : outlineRow;
Example
This example undoes an action.
spread.options.allowUndo = true;
spread.commandManager().execute({cmd: "outlineRow", sheetName: "Sheet1", index: 3, count: 5});
See Also

Reference

Commands type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.