Spread.Sheets Documentation
getState Method
GC.Spread.Sheets.Outlines Namespace > Outline type : getState Method
The group information.
Gets the state for the specified group.
Syntax
var instance = new GC.Spread.Sheets.Outlines.Outline(count);
var value; // Type: OutlineState
value = instance.getState(groupInfo);
function getState( 
   groupInfo : OutlineInfo
) : OutlineState;

Parameters

groupInfo
The group information.

Return Value

The group state.
Example
This example uses the getState method.
activeSheet.suspendPaint();
activeSheet.rowOutlines.group(0,5);
var rgi = activeSheet.rowOutlines.find(1, 0);
rgi.state(GC.Spread.Sheets.Outlines.OutlineInfo.collapsed);
alert(activeSheet.rowOutlines.getState(rgi));
activeSheet.resumePaint();
See Also

Reference

Outline type