I almost got the sub row feature in DHTMLXTreeGrid to work, but I have a problem.
I get a weird error message like “Error: Duplicate ID” when I click on the node to expand the sub rows. I do get the sub row, but some columns are not rendered properly, and the sub row is not placed appropriately either. This is in IE. firefox also complains with some other error messages like “this.rowsCol[start + i].parentNode has no properties”
Attached are my parent (test.xml) and child (child.xml) xmls and the test html (sample.html) file I used.
Can you help me with what the problem might be?
Thanks,
Binod
I get a weird error message like “Error: Duplicate ID” when I click on the node to expand the sub rows.
This message occurs if you are using not uniques ID in you treeGrid structure ( ID must be unique for all levels in grid )
Please be sure that each row element in XML has unique ID
>>Attached are my parent (test.xml) and child (child.xml) xmls and the test html (sample.html) file I used.
There are no attachments related to this post. If you have some problems with attaching files through KB you can send them directly to support@dhtmlx.com
You are right. I added the ids to each row, and now it works.
Thanks