[flexcoders] Expand all items of a tree

2006-06-28 Thread Jonas Windey
Hi, in flex2b3, I could open all nodes of my tree by doing this: treeTest.selectedIndex = 0; treeTest.expandChildrenOf(treeTest.selectedItem, true); Unfortunately, this isnt working anymore. I tried treeTest.expandItem(treeData.node[0],true, false); ,

RE: [flexcoders] Expand all items of a tree

2006-06-28 Thread Jonas Windey
Sorry to bump this, but Im desperately looking for a solution.. Jonas From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Windey Sent: woensdag 28 juni 2006 12:01 To: flexcoders@yahoogroups.com Subject: [flexcoders] Expand all items of a tree

RE: [flexcoders] Expand all items of a tree

2006-06-28 Thread Mac Martine
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey Sent: Wednesday, June 28, 2006 7:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Expand all items of a tree Sorry to bump this, but Im desperately looking for a solution.. Jonas From

RE: [flexcoders] Expand all items of a tree

2006-06-28 Thread Jonas Windey
juni 2006 17:38 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Expand all items of a tree Its working for me. Heres an example. Im not sure what you are wanting to do, but in this example you have to select a tree item, then click the Expand All button. You can modify

Re: [flexcoders] Expand all items of a tree

2006-06-28 Thread David Clark
Seems to work for me. If you change the code for expand() in Martine's example to : private function expand():void { myTree.selectedIndex = 0; myTree.expandChildrenOf(myTree.selectedItem , true); }It works without clicking on the tree first...-- davidMany people die at twenty five and aren't