SpreadJS Documentation
getRowResizable Method
GC.Spread.Sheets Namespace > Worksheet type : getRowResizable Method
The row index.
The sheet area. If this parameter is not given, it defaults to viewport.
Gets a value that indicates whether users can resize the specified row in the specified sheet area.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: boolean
value = instance.getRowResizable(row, sheetArea);
function getRowResizable( 
   row : number,
   sheetArea : SheetArea
) : boolean;

Parameters

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

Return Value

true if the users can resize the specified row; otherwise, false.
Example
This example gets whether the row is resizable.
sheet.setRowCount(10);
sheet.setColumnCount(7);
sheet.setValue(0, 0,"Western");
sheet.setValue(0, 1,"Western");
sheet.setValue(0, 2,"Western");
sheet.setValue(1, 0,"A");
sheet.setValue(1, 1,"B");
sheet.setValue(1, 2,"C");
sheet.setColumnResizable(0,true, GC.Spread.Sheets.SheetArea.colHeader);
sheet.setRowResizable(0,true, GC.Spread.Sheets.SheetArea.rowHeader);
alert( sheet.getColumnResizable(0));
alert( sheet.getRowResizable(0, GC.Spread.Sheets.SheetArea.rowHeader));
Remarks

See Also

Reference

Worksheet type