Skip to content

TreeList: Add onNodesInitialized Example Link#8928

Open
arman-boyakhchyan wants to merge 1 commit into
DevExpress:26_1from
arman-boyakhchyan:treelist-onnodesinitialized-example-link-26-1
Open

TreeList: Add onNodesInitialized Example Link#8928
arman-boyakhchyan wants to merge 1 commit into
DevExpress:26_1from
arman-boyakhchyan:treelist-onnodesinitialized-example-link-26-1

Conversation

@arman-boyakhchyan

Copy link
Copy Markdown
Contributor

No description provided.

@arman-boyakhchyan arman-boyakhchyan self-assigned this Jun 26, 2026
Copilot AI review requested due to automatic review settings June 26, 2026 05:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub example link to the DevExtreme TreeList onNodesInitialized API reference topic so readers can quickly find a working sample that demonstrates the event in practice.

Changes:

  • Added a short example description for onNodesInitialized.
  • Added a btn-open-github include pointing to the TreeList “display summary for each level” example repository.


---
Use this function to modify [node fields](/api-reference/10%20UI%20Components/dxTreeList/4%20Node '/Documentation/ApiReference/UI_Components/dxTreeList/Node/'). You can traverse the tree using the [forEachNode(callback)](/api-reference/10%20UI%20Components/dxTreeList/3%20Methods/forEachNode(callback).md '/Documentation/ApiReference/UI_Components/dxTreeList/Methods/#forEachNodecallback') method or implement your custom algorithm. In a custom algorithm, access the root node first - use the function parameter's **root** field. Use the the **children** field to access first-level child nodes. Do the same for every node in the collection. Thus you can traverse the entire tree. No newline at end of file
Use this function to modify [node fields](/api-reference/10%20UI%20Components/dxTreeList/4%20Node '/Documentation/ApiReference/UI_Components/dxTreeList/Node/'). You can traverse the tree using the [forEachNode(callback)](/api-reference/10%20UI%20Components/dxTreeList/3%20Methods/forEachNode(callback).md '/Documentation/ApiReference/UI_Components/dxTreeList/Methods/#forEachNodecallback') method or implement your custom algorithm. In a custom algorithm, access the root node first - use the function parameter's **root** field. Use the the **children** field to access first-level child nodes. Do the same for every node in the collection. Thus you can traverse the entire tree.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants