Spread.Sheets Documentation
autoFitRow Method
GC.Spread.Sheets Namespace > Worksheet type : 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