Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John Gehring on Jan 28, 2008 22:27
open dhtmlx forum
dhtmlxtree

How can I display a message while the tree is loading it's data from the server? Are the onXLS and onXLE events required for that?

Thanks,

John G
Answer posted by Support on Jan 29, 2008 01:30
>>Are the onXLS and onXLE events required for that?
Using those two events is most common approach
    http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=948&ssr=yes&s=onXLE

In simple case, when you not using dynamic loading, it can be done without events as

    var tree = new...
    ...
    show_loading_message();
    tree.loadXML(url,function(){
       hide_loading_message();
    });