Skip to main content

collapsed

Optional. Defines that Grid is initialized in the collapsed state

note

The property works only for Grid with the type: "tree" configuration option

collapsed?: boolean;

Default value: false

Example

         
const grid = new dhx.Grid("grid_container", {
type: "tree",
columns: [
// columns config
],
data: dataset,
collapsed: true
});

Change log:

added in v8.1