makes long text to split into multiple lines based on the width of the column

boolean autoHeight;

Available only in PRO Edition


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

Default value:


Related samples


This functionality requires PRO version of the dhtmlxGrid (or DHTMLX suite) package.

Note, that the autoHeight option does not adjust the height of the cells in the header/footer of Grid. The option just makes their text to split into multiple lines, but the height of the cells will remain the same. To set the height of the rows in the header/footer, you should apply the headerRowHeight and footerRowHeight configuration options of Grid.

See also
Change log

added in v7.1

Back to top