I'm using the tree control to load a hierarchical dataset that's not being pulled from SilverStripe's db, but that load process makes use of some RPC calls to another system, meaning the load of child nodes can take a lot longer. The current behaviour of the tree seems to be that a number of levels of the tree are loaded, then everything else loaded via ajax requests when you expand the node. Is there anything in particular that I should do to enforce the use of ajax calls for loading children?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hm, other than digging through tree.js, LeftAndMain_left.js and CMSMain_left.js? Don't think so ;)
The tree doesn't really have API documentation, and is only extensible in a limited fashion.
Hopefully we'll get a new shiny tree library in there soonish, which will be a bit better documented.