Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Dmitry on Feb 20, 2008 01:37
open dhtmlx forum
TreeGid branches with kids

Hi!

we have next situation some branches initialize when we init tree from xml like

mygrid.loadXML("../upload/xmlgen/groups.xml");


but all of my branches checked with xmlkids

elem.SetAttribute("xmlkids", "1");


kids append as

mygrid.kidsXmlFile = "../upload/xmlgen/UserAuditeeTreeGenXML.aspx"; //generated xml with kids


but if i open branch that init from groups.xml (and have some kids from this xml and some kids from generated xml) it doesnt want to opened using it xmlkid generated file.

how i can do in such case?
Answer posted by Support on Feb 20, 2008 05:42
TreeGrid expects that kids nodes will be available in XML or instead of them xmlkids attribute set ( which means that data need to be fetched from server )
If component found child nodes inside XML it will ignore xmlkids attribute and will not fetch additional data from server.