Categories | Question details Back To List | ||
dhtmlxTree openItem() Hello, I have a tree that takes a while to load with loadXML (about 400 folders loaded from database). I try to use tree.openItem(1) to open the root node after initializing the tree. The problem is that the tree does not get displayed for about 4-5 seconds, so the openItem is firing to quickly and has no effect. I do not see a way to tell the tree to open the first node in XM tagL..Is this possible? Answer posted by dhxSupport on Oct 01, 2009 07:41 You can use open="1" item's attribute to open necessary branch: <item text="Dan Brown" open="1" id="db" im0="books_close.gif" im1="books_open.gif" im2="books_close.gif"> Answer posted by Michael on Oct 01, 2009 08:02 Thank you. I now see it listed in the "Advanced" xml view in the help for dhtmlx component structure. I was looking in the "Plain View (html)" and it is not listed there. |