SpreadJS Documentation
group Method
GC.Spread.Sheets.Outlines Namespace > Outline type : group Method
The group starting index.
The number of rows or columns to group.
Groups a range of rows or columns into an outline (range group) from a specified start index.
Syntax
var instance = new GC.Spread.Sheets.Outlines.Outline(count);
var value; // Type: any
value = instance.group(index, count);
function group( 
   index : number,
   count : number
) : any;

Parameters

index
The group starting index.
count
The number of rows or columns to group.
Example
This example uses the group method.
activeSheet.suspendPaint();
activeSheet.rowOutlines.group(0,5);
activeSheet.rowOutlines.expand(0,false);
activeSheet.resumePaint();
See Also

Reference

Outline type