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

typescript
expandAllTreeNodes(): Promise<void>
ArgumentsRequiredType

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