SpreadJS Documentation
width Method
GC.Spread.Sheets Namespace > CellRange type : width Method
The column width.
Gets or sets the width of the column in pixels.
Syntax
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
var returnValue; // Type: any
returnValue = instance.width(value);
function width( 
   value : number
) : any;

Parameters

value
The column width.

Return Value

If no value is set, returns the column width; otherwise, returns the column.
Example
This example sets the column width.
activeSheet.getCell(-1, 0).width(20);
Remarks
The default value is 62 pixels.
See Also

Reference

CellRange type