SpreadJS Documentation
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 GcSpread.Sheets.RangeGroup(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.isPaintSuspended(true);
activeSheet.rowRangeGroup.group(0,5);
activeSheet.rowRangeGroup.expand(0,false);
activeSheet.isPaintSuspended(false);
See Also

Reference

RangeGroup type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.