GcSpread.Sheets Namespace > Sheet type : getColumnResizable Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: boolean value = instance.getColumnResizable(col, sheetArea);
true
if the user can resize the specified column; otherwise, false
.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, GcSpread.Sheets.SheetArea.colHeader); sheet.setRowResizable(0,true, GcSpread.Sheets.SheetArea.rowHeader); alert( sheet.getColumnResizable(0)); alert( sheet.getRowResizable(0, GcSpread.Sheets.SheetArea.rowHeader));