SpreadJS Documentation
isCollapsed Method
GC.Spread.Sheets.Outlines Namespace > Outline type : isCollapsed Method
The index of the row or column in the range group.
Determines whether the range group at the specified index is collapsed.
Syntax
var instance = new GC.Spread.Sheets.Outlines.Outline(count);
var value; // Type: boolean
value = instance.isCollapsed(index);
function isCollapsed( 
   index : number
) : boolean;

Parameters

index
The index of the row or column in the range group.

Return Value

true if the specified row or column is collapsed; otherwise, false.
Example
This example uses the isCollapsed method.
activeSheet.suspendPaint();
activeSheet.rowOutlines.group(0,5);
activeSheet.rowOutlines.expand(0,true);
activeSheet.resumePaint();
alert(activeSheet.rowOutlines.isCollapsed(0));
See Also

Reference

Outline type