TreeList: Add onNodesInitialized Example Link#8928
Open
arman-boyakhchyan wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
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-githubinclude 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. |
artem-kurchenko
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.