i am trying to use … dhtmltreegrid . i am four levels of hirarcehy of values , so thought of including a tree in agrid . could you please say the basic steps for tree grid ibntialization and wat all should be given in an xml file … i hope i will get the query at earliest.
The init of treegrid basically it the same as init of grid, the only difference - one of column types must be “tree”
mygrid = new dhtmlXGridObject(‘gridbox’);
mygrid.setHeader(“Tree,Plain Text,Long Text,Color,Checkbox”);
mygrid.setInitWidths(“150,100,100,100,100”)
mygrid.setColTypes(“tree,ed,txt,ch,ch”);
mygrid.init();
mygrid.loadXML(“test_list_1.xml”);
The XML of treeGrid is similar to XML of grid , with only small difference - it may contain nested row tags ( which will be rendered as sub levels inside treegrid )
Please refer to
dhtmlx.com/docs/products/docsExp … dhtmlx_xml