SpreadJS Documentation
getCollapsed Method
GC.Spread.Sheets.Outlines Namespace > Outline type : getCollapsed Method
The index.
Gets the collapsed internal.
Syntax
var instance = new GC.Spread.Sheets.Outlines.Outline(count);
var value; // Type: boolean
value = instance.getCollapsed(index);
function getCollapsed( 
   index : number
) : boolean;

Parameters

index
The index.

Return Value

true if collapsed; otherwise, false.
Example
This example uses the getCollapsed 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