Re: [flexcoders] Expanding specific branch(es) in Tree component

2007-10-07 Thread Paul Dale
Well, specifically it depends on the structure of your data, abstractly one would use expandItem. ExpandItem takes an object id. If you know the id of your object then you just simply do tree.expandItem(objectid). If you don't know the object id you'll need to find some way to identify it. If you

[flexcoders] Expanding specific branch(es) in Tree component

2007-10-07 Thread candysmate
I need to expand specific branches in a tree component, while keeping their children closed. My tree does not have the root node shown. So if you take the root node as 0, I wish to expand nodes 1 while keeping nodes 2 (children) closed/collapsed. How can I do this please?