Spread.Sheets 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 GC.Spread.Sheets.Outlines.Outline(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.suspendPaint();
activeSheet.rowOutlines.group(0,5);
activeSheet.rowOutlines.expand(0,true);
activeSheet.resumePaint();
alert(activeSheet.rowOutlines.getLevel(0));
See Also

Reference

Outline type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.