i know you have been asked this question many a times, but i am helpless. I just cant get my xml file to open. All it gives is an incorrect xml error. And i have double checked the schema and other things and also validated the file by opening in firefox. But, no luck…
Here is an code excerpt from my html page:
function doInitGrid(){
mygrid = new dhtmlXGridObject(‘mygrid_container’);
mygrid.setImagePath("codebase/imgs/");
mygrid.setHeader("GID,TID,PID,Title,Authors");
mygrid.setInitWidths("80,80,80,200,*");
mygrid.setColAlign("left,left,left,left,left");
mygrid.setSkin("light");
mygrid.loadXML("authors.xml");
mygrid.setColSorting("int,int,int,str,str");
mygrid.init();
}
And here is my xml file. (ignore the inclusion of header names)
<?xml version="1.0" encoding="UTF-8" ?> GID TID PID Title Authors 3 1 5 e-Learning Concept of CMS and the Digitization of Libraries Meenu ChopraRest, i have followed accurately each and every step as indicated in documentation.
And i am using all this locally on my computer, no web server or local server is involved. And i am planning to deploy it like this itself. Is this gonna cause some problem with chrome browsers ??