Skip to main content

footerAutoHeight

pro version only

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

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

footerAutoHeight?: boolean;

Default value: false

Example

const grid = new dhx.Grid("grid_container", {
columns: [
// columns config
],
data: dataset,
autoHeight: false, // disable autoHeight in the data, the header and the footer
footerAutoHeight: true // enable autoHeight in the footer
});

Related sample: Grid. Header/footer autoHeight mode

Redefines the autoHeight config for the footer.

Ignored when footerRowHeight is set as an array: in that case the height of each level of the footer is defined by the corresponding array item, and only the "auto" items fit their content.

Change log:

  • Since v9.4, ignored when footerRowHeight is set as an array
  • Added in v8.3