Skip to main content

height

Optional. Sets the height of a grid or adjusts it automatically to the content

height?: number | "auto";
Pro version only

The height: "auto" option requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.

Example

const grid = new dhx.Grid("grid_container", {
columns: [
// columns config
],
height: 400,
data: dataset
});

Change log:

  • The "auto" option was added in v8.1