Error Loading XML in dhtmlxgrid

I m loading the data from a jsp instead of an XML file , using the below steps



mygrid.setXMLAutoLoading(“abc/xyz/grid.jsp”);//to load additional data from server

mygrid.init();

mygrid.loadXML(“abc/xyz/grid.jsp?id=0”);



It does not load the data. javascript error comes up saying Error Type :Load XML , Descirption:Incorrect XML.

please give the solution for this asap

The most common issue of problem

a) structure of XML invalid | data contains not escaped special chars ( & < > )
b) you output XML with incorrect content type, must be text/xml ( IE specific )
c) you output XML with some whitespaces before <?xml tag ( FF specific )

You can try to include attached file instead of original dhtmlxcommon.js - it will show data as it was retrieved by component.

dhtmlxcommon_debug.zip (4.95 KB)