SpreadJS Documentation
height Method
The cell row height.
Gets or sets the height of the row in pixels.
Syntax
var instance = new GcSpread.Sheets.Row(sheet, index, sheetArea);
var returnValue; // Type: number
returnValue = instance.height(value);
function height( 
   value : number
) : number;

Parameters

value
The cell row height.

Return Value

The row height.
Example
This example sets the row height.
activeSheet.getColumn(2).vAlign(GcSpread.Sheets.VerticalAlign.bottom);
activeSheet.getColumn(2).hAlign(GcSpread.Sheets.HorizontalAlign.left);
activeSheet.getCell(0,2).text("Test");
activeSheet.getRow(0).height(90);
Remarks
The default value is 20 pixels.
See Also

Reference

Row type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.