collapseAll()
collapses all expanded tree nodes
note
The method works only for Grid with the type: "tree"
configuration option
collapseAll(): void;
Example
const grid = new dhx.Grid("grid_container", {
type: "tree",
columns: [
// columns config
],
data: dataset,
});
grid.collapseAll();
Change log:
added in v6.3