SpreadJS Documentation
getState Method
The group.
Gets the state for the specified group.
Syntax
var instance = new GcSpread.Sheets.RangeGroup(count);
var value; // Type: GroupState
value = instance.getState(group);
function getState( 
   group : RangeGroupInfo
) : GroupState;

Parameters

group
The group.

Return Value

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

Reference

RangeGroup type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.