Skip to main content

headerAutoHeight

Optional. Allows adjusting the height of the header for the content to fit in

headerAutoHeight?: boolean;

Default value: false

Example

const treegrid = new dhx.TreeGrid("treegrid_container", {
columns: [
// columns config
],
data: dataset,
autoHeight: false, // disable autoHeight in the data, the header and the footer
headerAutoHeight: true // enable autoHeight in the header
});

Related sample: TreeGrid. Header/footer autoHeight mode

Redefines the autoHeight config for the header.

Change log:

added in v8.3