Spread.Sheets Documentation
autoFitRow Method
The row index.
Automatically fits the viewport row.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: any
value = instance.autoFitRow(row);
function autoFitRow( 
   row : number
) : any;

Parameters

row
The row index.
Example
This example sets the row height based on the text.
activeSheet.setValue(0, 1, "testing\r\nmultiple\r\nlines");
activeSheet.getCell(0,1).wordWrap(true);
activeSheet.autoFitRow(0);
See Also

Reference

Worksheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.