dhtmlxgrid - error if the user click on a link before the xm

Hello,



I use smartrendering on a dhtmlxgrid to display data. The loading takes some seconds on my server. But if I click on a link before the xml has finished loading, there is a JavaScript error : LoadXML.

This can by reproduced on your exemple (dhtmlx.com/docs/products/dht … 50000.html) if you click immediately on a link.



I use Firefox with Firebug and I have this error. Maybe this can help you :

this.xml is null

if (top.tagName.toLowerCase()!=this.x…rows = xml.doXPath(this.xml.row, top)



Is there a way to avoid this error ?



Regards


Hello


yes such an issue can take place. You can try to use the following approach to block error message:


function my_error_handler(type, name, data){


}


dhtmlxError.catchError(“LoadXML”,my_error_handler);

Thank you very much.
That’s exactly what I need