collapse()
collapses a tree node by id
collapse(id: string | number): void;
Parameters:
id: string | number
- the id of a node to collapse
Example
treegrid.collapse("native");
Related sample: TreeGrid. Expand / collapse rows
collapses a tree node by id
id: string | number
- the id of a node to collapseExample
treegrid.collapse("native");
Related sample: TreeGrid. Expand / collapse rows