columnsAutoWidth

defines whether the width of columns is automatically adjusted to the width of their content

boolean|number columnsAutoWidth;

Deprecated

instead of it, use the adjust property:

var grid = new dhx.Grid("grid_container", {
    columns: [// columns config],
    adjust: true,      data: dataset
});

Example

var grid = new dhx.Grid("grid_container", {
    columns: [// columns config],
    columnsAutoWidth: true,     data: dataset
});

Details

At the moment "number" type defines the number of the last column that should be auto adjusted.

Back to top