Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Joel Finkel on Feb 04, 2009 07:58
open dhtmlx forum
Suggestion: add callback to tree.openAllItemsDynamic()

Folks,

May I suggest that you add a callback function to the parameter of the tree.openAllItemsDynamic method. Large trees take time to open completely, and it would be nice to be able to execute a function when the process has completed. Such a function could be used to inform the user that the tree is fully opened.

Thanks,
Joel Finkel
Answer posted by Support on Feb 04, 2009 09:43
We plan to add such possibility to public API of component in next version. As for now you can use private inner event 

tree.attachEvent("onAllOpenDynamic",function(){
   // any custom code
});
Answer posted by Joel Finkel on Feb 04, 2009 10:06

Excellent.  Works well. 

Thanks,
Joel Finkel