SpreadJS Documentation
setDirection Method
The range group's direction.
Sets the range group's direction.
Syntax
var instance = new GcSpread.Sheets.RangeGroup(count);
var value; // Type: any
value = instance.setDirection(direction);
function setDirection( 
   direction : RangeGroupDirection
) : any;

Parameters

direction
The range group's direction.
Example
This example uses the setDirection method.
activeSheet.isPaintSuspended(true);
activeSheet.rowRangeGroup.group(3,2);
activeSheet.colRangeGroup.group(4,1);
activeSheet.rowRangeGroup.setDirection(GcSpread.Sheets.RangeGroupDirection.Forward);
activeSheet.isPaintSuspended(false);
See Also

Reference

RangeGroup type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.