SpreadJS Documentation
find Method
The index of the row or column.
The level of the outline (range group).
Gets the outline (range group) with the specified group level and row or column index.
Syntax
var instance = new GcSpread.Sheets.RangeGroup(count);
var value; // Type: RangeGroupInfo
value = instance.find(index, level);
function find( 
   index : number,
   level : number
) : RangeGroupInfo;

Parameters

index
The index of the row or column.
level
The level of the outline (range group).

Return Value

The specified range group.
Example
This example uses the find method.
activeSheet.isPaintSuspended(true);
activeSheet.rowRangeGroup.group(0,5);
var rgi = activeSheet.rowRangeGroup.find(1, 0);
rgi.setState(GcSpread.Sheets.GroupState.Collapsed);
activeSheet.isPaintSuspended(false);
See Also

Reference

RangeGroup type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.