SpreadJS Documentation
getLevel Method
The index of the row or column.
Gets the level of a specified row or column. The level's index is zero-based.
Syntax
var instance = new GcSpread.Sheets.RangeGroup(count);
var value; // Type: number
value = instance.getLevel(index);
function getLevel( 
   index : number
) : number;

Parameters

index
The index of the row or column.

Return Value

The level for the row or column.
Example
This example uses the getLevel method.
activeSheet.isPaintSuspended(true);
activeSheet.rowRangeGroup.group(0,5);
activeSheet.rowRangeGroup.expand(0,true);
activeSheet.isPaintSuspended(false);
alert(activeSheet.rowRangeGroup.getLevel(0));
See Also

Reference

RangeGroup type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.