SMART datagrid v.1 > Classes > GridColumn

Back  Forward

DataLudi.GridColumn.width  property

The width of column. 

Specify in pixels. It should be a value greater than 0. 

If the column is included in group, it will be used as a relative value compared with other columns included in the same group. If it is Top Column, when it is not grid Alignment State, it will be displayed in the same width of this value. 

Defaults to 100.

Getter
function width(): Number
Setter
function setWidth(value: Number)
Code -1
    var column = grid.getVisibleColumn(0);
    column.setWidth(column.width() + 100);
See Also
resizable
isRoot
ColumnGroup
DisplayOptions.fitStyle
Examples
Column Resizing
Column Grouping