hi
when i execute the following code i am getting incorrect XML…whats wrong in the code.
I try with loadXML and loadXMLString…no luck
mygrid = new dhtmlXGridObject(“gridbox”);
mygrid.setImagePath(“dhtmlxGrid/codebase/imgs/”);
mygrid.setHeader(“Choose”);
mygrid.setInitWidths(“150”)
mygrid.setColAlign(“left”)
mygrid.setColTypes(“ro”);
mygrid.setColSorting(“str”)
mygrid.setColumnColor("#d5f1ff")
mygrid.setColumnMinWidth(50,0);
mygrid.init();
mygrid.loadXML(“<?xml version='1.0' encoding='iso-8859-1'?>PizzaBurger”);
mygrid.attachEvent(“onRowSelect”,doOnRowSelected);
john
ID = 0 , is reserved for inner usage, please try to use any different ID value, it must resolve problem.