Spread.Sheets Documentation
setCollapsed Method
The index.
Set to true to collapse the level.
Sets the collapsed level.
Syntax
var instance = new GC.Spread.Sheets.Outlines.Outline(count);
var value; // Type: any
value = instance.setCollapsed(index, collapsed);
function setCollapsed( 
   index : number,
   collapsed : boolean
) : any;

Parameters

index
The index.
collapsed
Set to true to collapse the level.
Example
This example uses the setCollapsed method.
activeSheet.suspendPaint();
activeSheet.rowOutlines.group(0,5);
activeSheet.rowOutlines.setCollapsed(0,false);
activeSheet.resumePaint();
See Also

Reference

Outline type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.