Hi Raja, to dynamically load and expand nodes in the Mendix Tree widget
Set the Tree widget’s data source to “Microflow”.
Create a microflow that takes the current parent node as input and returns a list of its child objects.
The Tree widget will call this microflow whenever a node is expanded, loading only the children for that node.
Ensure your domain model supports a parent-child relationship so the microflow can query child items based on the parent.
This approach improves performance by loading data on demand instead of loading the entire tree at once.
I hope this one helps you! :)