dhtmlxGridObject > loadXML > callback method begins before l

Dear all!

My problem is below:

The dhtmlXGridObject has a metod: loadXML(). I would like to call a
function after loadXML. I have 2 alternatives:
- use the callback parameter
- write this call under the call of loadXML

Both solutions have some attention. The function will start before loadXML ends.
What should I do?
Please help me as soon as possible!

Best Regards
                   Csaba Kis-Gadó
  • use the callback parameter
    The callback executed only after incoming XML fully parsed ( except distributed parsing mode )

        //any code here