Hallo. I would like to create dynamically my tree based on multiple array with subarray. I have to create branches and leafs based on my structure (like directory structure of operative system ) ... How can i add branch and leaf dinamically??..
Hope someone can help me..
Sry for bad english
You can modify the dataprovider dynamically. Default data descriptor of Tree will look for the the children field in the node.
So if you want to add nodes dynamically, create a new field named children as array in the node object and populate the array with new values.
This page has all the examples you need.