collapsed
Optional. Defines that a treegrid 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
});
Related sample: Grid (TreeGrid). Collapsed mode
Change log:
added in v8.1