Categories | Question details Back To List | ||||||||
loadXMLString doesn not appear to do anything mygrid.loadXMLString(s) does not appear to do anything. The grid appears with column headers but no data. I've tested in IE6 and FF2. mygrid = new dhtmlXGridObject('mygrid_container'); mygrid.setImagePath("codebase/imgs/"); mygrid.setHeader("Model,Qty"); mygrid.setInitWidths("*,150"); mygrid.setColAlign("left,right"); mygrid.setSkin("light"); mygrid.setColSorting("str,str"); mygrid.setColTypes("ed,ed"); mygrid.init(); var s = '<rows>'; s += '<row><cell>x</cell><cell>y</cell></row>'; s += "</rows>"; mygrid.loadXMLString(s); Answer posted by Support on Mar 14, 2008 07:27 The same sample works in all browsers ( except Safari, which has problems with parsing XML strings ) for me Please check attached sample. ( please beware that loadXMLString functionality supported only by pro version of dhtmlxgrid ) Attachments (1)
|