API REFERENCE
expandAllTreeNodes
Expands all expandable nodes in the current tree.
What does this API do?
Expands all expandable nodes in the current tree.
API for Pro features: Tree data
Exact input and result types
expandAllTreeNodes(): Promise<void>| Arguments | Required | Type |
|---|
The return type is Promise<void>.
Usage flow
After registering and initializing the Grid element, call grid.expandAllTreeNodes(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Tree data
Trees display parent-child data, such as folders or organizations, with indentation and expansion controls. Unlike grouping equal values, the parent relationship already exists in the data.