SpreadJS Documentation
rowRangeGroup Field
Indicates the row range group.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: RangeGroup
value = instance.rowRangeGroup;
var rowRangeGroup : RangeGroup;
Example
This example creates groups.
sheet.setRowCount(34);
sheet.setValue(0,0,"Western");
sheet.setValue(0,1,"Western");
sheet.setValue(0,2,"Western");
sheet.setValue(1,0,"A");
sheet.setValue(1,1,"B");
sheet.setValue(1,2,"C");
sheet.setValue(2,0,"A");
sheet.setValue(2,1,"B");
sheet.setValue(2,2,"C");
sheet.rowRangeGroup.group(0,2);
sheet.colRangeGroup.group(0,1);
sheet.rowRangeGroup.expand(0,false);
sheet.colRangeGroup.expand(0,false);
spread.repaint();
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.