autoHeight

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

boolean autoHeight;

Example

var treegrid = new dhx.TreeGrid("treegrid_container", {
    columns: [// columns config],
    autoHeight: true,      data: dataset
});


Default value:

false

Related samples

Details

Note, that the autoHeight option does not adjust the height of the cells in the header/footer of TreeGrid. 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 TreeGrid.

See also
Change log

added in v7.1

Back to top