SpreadJS Documentation
getRows Method
The row index.
The second row index.
The sheet area. If this parameter is not given, it defaults to viewport.
Gets a range of rows in the specified sheet area.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: Row
value = instance.getRows(index, index2, sheetArea);
function getRows( 
   index : number,
   index2 : number,
   sheetArea : SheetArea
) : Row;

Parameters

index
The row index.
index2
The second row index.
sheetArea
The sheet area. If this parameter is not given, it defaults to viewport.

Return Value

The rows.
Example
This example sets the background color for the specified rows.
activeSheet.getRows(1,3,GcSpread.Sheets.SheetArea.viewport).backColor("yellow");
alert(rheight);
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.