Skip to main content


Pro version only

This functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.

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

headerAutoHeight?: boolean;

Default value: false


const grid = new dhx.Grid("grid", {
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: Grid. Header/footer autoHeight mode

Redefines the autoHeight config for the header.

Change log:

added in v8.3