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

Parameters

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

Return Value

true if the user can resize the specified column; otherwise, false.
Example
This example gets whether the column 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));
See Also

Reference

Worksheet type