RE: [flexcoders] Re: tree.getParentItem (node) when the node is closed

2008-08-04 Thread Tracy Spratt
@yahoogroups.com Subject: [flexcoders] Re: tree.getParentItem (node) when the node is closed Never mind, I just had to keep the index of top level node in my leaf node. Then when the user clicked on the leaf node in other list I had to call tree.expandItem(tree.dataProvider.getItemAt([EMAIL

[flexcoders] Re: tree.getParentItem (node) when the node is closed

2008-08-01 Thread Amy
--- In flexcoders@yahoogroups.com, "gaurav1146" <[EMAIL PROTECTED]> wrote: > > Never mind, I just had to keep the index of top level node in my leaf > node. Then when the user clicked on the leaf node in other list I had > to call > tree.expandItem(tree.dataProvider.getItemAt([EMAIL PROTECTED]), t

[flexcoders] Re: tree.getParentItem (node) when the node is closed

2008-07-31 Thread gaurav1146
Never mind, I just had to keep the index of top level node in my leaf node. Then when the user clicked on the leaf node in other list I had to call tree.expandItem(tree.dataProvider.getItemAt([EMAIL PROTECTED]), true); This ensured that the node's parent was expanded and I could get the parent by