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

Parameters

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

Return Value

The row height in pixels.
Example
This example returns the height for the specified row.
var rheight = activeSheet.getRowHeight(1,GcSpread.Sheets.SheetArea.viewport);
alert(rheight);
Remarks
The default value is 20 pixels.
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.