Categories | Question details Back To List | ||||||||
DHTMLXTree: onOpenAllItemsDynamic (?) I would need that kind of event to capture the end of a dynamic/asynchronic load of multiple nodes. Is there an easy way to get it without having to go into the lib code myself? Thx Answer posted by Support on Apr 18, 2008 07:42 If you are using latest version of dhtmlxtree you can use next code tree.attachEvent("onAllOpenDynamic",function(){ //code will be called after openAllItemsDynamic finish all loading operations }); This functionality kind of experimental, so it exist only in latest build. Answer posted by Yves on Apr 18, 2008 08:42 Sorry but I am not using the latest version :-( Could you please give me the code responsible for the above mentionned event mgt, that would really spare me a lot of troubles implementing it myself :-) Thx Answer posted by Support on Apr 21, 2008 02:42 The code of _loadAndOpen method, which contain necessary event attached. ( if you are using not so outdated version of tree, you can just replace existing code with it ) Attachments (1)
|