SpreadJS Documentation
width Method
The column width.
Gets or sets the width of the column in pixels.
Syntax
var instance = new GcSpread.Sheets.Column(sheet, index, sheetArea);
var returnValue; // Type: number
returnValue = instance.width(value);
function width( 
   value : number
) : number;

Parameters

value
The column width.

Return Value

The column width.
Example
This example sets the column width.
activeSheet.getColumn(0).width(20);
Remarks
The default value is 62 pixels.
See Also

Reference

Column type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.