Error en DhtmlxTreeGrid

i have this in the sample html:





        

    

    



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" ?>





first column data

second column data



first column data

second column data







first column data

second column data









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









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.