Spread.Sheets Documentation
setRowResizable Method
The row index.
Set to true to let the users resize the specified row.
The sheet area. If this parameter is not given, it defaults to viewport.
Sets whether users can resize the specified row in the specified sheet area.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var returnValue; // Type: any
returnValue = instance.setRowResizable(row, value, sheetArea);
function setRowResizable( 
   row : number,
   value : boolean,
   sheetArea : SheetArea
) : any;

Parameters

row
The row index.
value
Set to true to let the users resize the specified row.
sheetArea
The sheet area. If this parameter is not given, it defaults to viewport.
Example
This example prevents certain rows and columns from being resized.
sheet.setRowResizable(3,false,GC.Spread.Sheets.SheetArea.viewport);
sheet.setColumnResizable(3,false,GC.Spread.Sheets.SheetArea.viewport);
sheet.getRange(1,-1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).resizable(false);
sheet.getRange(-1, 1, -1, 1, GC.Spread.Sheets.SheetArea.viewport).resizable(false);
See Also

Reference

Worksheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.