Categories | Question details Back To List | ||
Error en DhtmlxTreeGrid i have this in the sample html: <script src='../dhtmlxGrid/codebase/dhtmlxcommon.js'></script> <script src='../dhtmlxGrid/codebase/dhtmlxgrid.js'></script> <script src='../dhtmlxGrid/codebase/dhtmlxgridcell.js'></script> <script src='../dhtmlxGrid/codebase/dhtmlxtreegrid.js'></script> mygrid = new dhtmlXGridObject('gridbox'); mygrid.selMultiRows = true; mygrid.imgURL = "../dhtmlxGrid/codebase/imgs/"; mygrid.setHeader("Tree,Plain Text"); mygrid.setInitWidths("150,100") mygrid.setColAlign("left,left") mygrid.setColTypes("tree,ed"); mygrid.setColSorting("str,str") mygrid.init(); mygrid.load("test_list_1.xml"); and i have this in the xml file: <?xml version="1.0" encoding="UTF-8" ?> <rows parent="0"> <row id="11" open="1"> <cell image="folder.gif"> first column data </cell> <cell> second column data </cell> <row id="110"> <cell> first column data </cell> <cell> second column data </cell> </row> </row> <row id="12" xmlkids="1"> <cell> first column data </cell> <cell> second column data </cell> </row> </rows> when i run the application, i have this error: JavaScript Error: Object does not support this property or method dhtmlxgrid.js Line: 5182 and when i open the dhtmlxgrid.js file i see that linea only got this: return this._process_tree_xml(xml); What i suppose to do? A File is missing? Thanls Answer posted by dhxSupport on May 12, 2009 01:35 Please check if you have attached correct dhtmlxtreegrid.js file from the dhtmlxTreeGrid package. Such error may occur if dhtmlxtreegrid.js file is not attached. |