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

Parameters

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

Return Value

The row.
Example
This example returns information about the specified row.
activeSheet.getRow(1).visible(false);
activeSheet.getCell(1,0).value("Test");
activeSheet.getRow(2).height(100);
This example sets the height for the row.
activeSheet.getRow(2).height("60");
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.