Ajax states

Hi everybody.
I’m using Dhtmlx integrated in a development environment.
A global statusbar includes a progress indicator which shows the current state of all (XHR) requests.
So far everything works fine.

My problem is, i can’t indicate internal ajax calls like them coming from:

tree.setXMLAutoLoading("treenodes.php"

and many other ones.

Is there a way to set user defined functions on internal XHR requests to indicate me the state progress?

Hi

how about the following?

myTree.attachEvent("onXLS", function(){ console.log("xml loading started"); }); myTree.attachEvent("onXLE", function(){ console.log("xml loading ended"); });