Event like onTreeLoaded

Hi,

as long as the user has to wait for the tree to be loaded (which can take some time due to our server) I want a small animated gif to be shown. But as soon as the tree is available, this gif should be gone. So I would need an event “treeLoaded” or something… I tried the onXLS and onXLE, but the first time they are fired is with opening one node of the tree - which is not what I need. And: I would need that event to be fired even if the received tree is empty! Is there something like this?

Thanks,

Lennart

>>I tried the onXLS and onXLE, but the first time they are fired is with opening one node of the tree
In case of dynamic_loading|smart_xml_parsing this event will fire for node opening as well ( because opening node will require a data loading | parsing )
But it must fire for initial data loading as well. Please be sure that you attached events to tree before calling loadXML

>>I would need that event to be fired even if the received tree is empty
If incoming XML is valid tree XML - event will fire for it, even if it has zero “item” tags in it.

If problem still occurs for you - please provide code snippet with used js code.

Please be sure that you attached events to tree before calling loadXML

That was the “error” :slight_smile: Makes sense, thanks