Hello,
I tried to abort loading of xml at dthmlxgrid using ‘grid.xmlLoader.xmlDoc.abort()’, it’s working but alert message always showed up. How to avoid the alert not to show up.
thank you
Hello,
I tried to abort loading of xml at dthmlxgrid using ‘grid.xmlLoader.xmlDoc.abort()’, it’s working but alert message always showed up. How to avoid the alert not to show up.
thank you
Add the next code
dhtmlxError.catchError("LoadXML", function(){
})
It will disable default xml loading errors handler.
Thank You Stanislav.
I a not very smart and could not make the abort or abort() function work, (and I did not want to hide loading errors).
grid.clearAndLoad()
has an abort function build in! Works great, clean, no errors to deal with