Spread.Sheets Documentation
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

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.