SpreadJS Documentation
setCollapsed Method
The index.
Set to true to collapse the level.
Sets the collapsed level.
Syntax
var instance = new GcSpread.Sheets.RangeGroup(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.isPaintSuspended(true);
activeSheet.rowRangeGroup.group(0,5);
activeSheet.rowRangeGroup.setCollapsed(0,false);
activeSheet.isPaintSuspended(false);
See Also

Reference

RangeGroup type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.