Are there any autoload related events for the Tree

tree.autoload property was configured. The tree layers are loaded dynamically, i.e. the children won’t be loaded until the parent node was opened. I Hope when the parent node was clicked, the first child will be automatically selected. But after tree.toggle(parentnode), the children cannot be immediately achieved which leads to the failed selection. I think the selection should be made immediately after the autoload event. How can I achieve this, or other solutions? Thx

Unfortunately, currently, there are no events allowing to control the autoload process of the tree.
I’ve sent your request to the dev team, so such a possibility may appear in future updates.

Hello.

We’ve added the needed events to the TreeCollection in the latest dhx.Suite update (v8.0)

Please, download the latest available dhx.Suite build from your client’s area to get this update.

Thank you for your report.

1 Like