TreeGrid

Hi,

i’m trying to use treegrid for the first time. I use the following codes:



in js:





















and treegrid.xml :



<?xml version="1.0" encoding="UTF-8" ?>





datadatadatadata



datadatadatadata





data datadatadata









It shows only header line and i have this error:



eXcell is not defined /dhtmlxtreegrid.js(Line 30)



Can you help me?



Thanks in advance!

pyt



a) Change the order of js files as






b) if you are loading data from external file, instead of mygrid.loadXMLString(“treegrid.xml”); you need to use mygrid.loadXML(“treegrid.xml”);




now i have no error more, but i can see only the first row without “plus” icon and subrows.
Thank you for your help.
pyt

Be sure that path to image folder is correct