expand()
expands a tree node by id
note
The method works only for Grid with the type: "tree"
configuration option
expand(id: string | number): void;
Parameters:
id: string | number
- the id of a node to expand
Example
const grid = new dhx.Grid("grid_container", {
type: "tree",
columns: [
// columns config
],
data: dataset,
});
grid.expand("native");