we faced the same issue, only difference being we use objects and arraycollection (containing those objects). each arraycollection would map to one tree node. if arraycollection instance is modified, tree would close that branch. idea is to maintain same reference of arraycollection and simply add/delete from that arraycollection.
tree internally maintains the state of nodes which are expanded. investigate on the same lines, you may be replacing the xml node's instance itself. hope this helps. regards, Rajeev Goel On Tue, Dec 8, 2009 at 10:36 AM, atflex9 <[email protected]> wrote: > > > > Hi, > > I am facing a problem with Expanding the branches of Tree control. > I was trying to add a new XML node to a branch at runtime by calling an > HTTP service and when I expand the branch to which the new XML node was > added it is automatically getting closed. I tried to refresh the tree and > invalidated the list and displaylist but it did not worked out. > Any help can be appreciated...! > > >

