SpreadJS Documentation
expand Method
The level of the outline to expand or collapse.
Whether to expand the groups.
Expands all outlines (range groups), using the specified level.
Syntax
var instance = new GcSpread.Sheets.RangeGroup(count);
var value; // Type: any
value = instance.expand(level, expand);
function expand( 
   level : number,
   expand : boolean
) : any;

Parameters

level
The level of the outline to expand or collapse.
expand
Whether to expand the groups.
Example
This example uses the expand method.
activeSheet.isPaintSuspended(true);
activeSheet.rowRangeGroup.group(0,5);
activeSheet.rowRangeGroup.expand(0,false);
activeSheet.isPaintSuspended(false);
See Also

Reference

RangeGroup type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.