Example xml for TreeGrid

Can you please post a thorough example of an xml file that could be used to load a tree grid at least four levels deep?

Thank you very much.

Example of treeGrid xml you can find here
dhtmlx.com/docs/products/docsExp … dhtmlx_xml

The documentation for the treeGrid states:

“Script initialization is the same as for grid. All you need is to decide what column should have tree structure and use “tree” eXcell for it.”  I don’t see any examples or explanation at the destination link.  I tried using “tree” as the cell type but it gave me an error that it’s not a valid type.  Could you please direct me to an example of an initialization of a tree grid?  Right now, my code is not displaying the child rows (it’s only displaying as a grid, not a tree grid).

Thanks so much.


treegrid is a separate component and these is only PRO edition of this component.

If you obtain this edition, you can find treegrid sample in the package:


the example of the xml: dhtmlxTreeGrid/samples/initialization_loading/test_list_1.xml

On our website: dhtmlx.com/docs/products/dhtmlxT … list_1.xml