Hello pantxisto,
Yes, it is possible to load the items of jqxtree on demand.
First, you can initialize the tree with its ‘source’ set to ‘null’.
After your data is loaded you will update the source.
The next thing you should do is to bind to the expand
event of the tree and for each child of the expanded item
to load the data for its children and add them to the tree.
Here is an Example. Please, note that I have used setTimeout
for simulating the data requests, just for the example.
You can also look at this jQuery Demo, if it might help you.
Please, let us know if you need further assistance.
Best Regards,
Martin
jQWidgets Team
http://www.jqwidgets.com/