myTree.dataProvider should provide you the
root node of the Tree. How were you populating the dataProvider where it wasn’t
working?
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jwaknitz
Sent: Thursday, May 05, 2005 9:33
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Control
Tree with a Button
Matt, how do I get at the dataProvider to use the methods?
I tried adding the nodes to the dataProvider
dynamically but that
didn't work. Little more info would be
helpful. Thanks.
--- In flexcoders@yahoogroups.com, Matt Chotin
<[EMAIL PROTECTED]> wrote:
> Check out the TreeDataProvider API in the
ASDoc. You'll see the
methods you
> should use. Tree.dataProvider should
provide you with the root of
the tree.
>
>
>
> Matt
>
>
>
> _____
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of jwaknitz
> Sent: Wednesday, May 04, 2005 12:53 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Control Tree with a
Button
>
>
>
> Anyone know how I would be able to go through
nodes of a tree
using a
> button? My tree has two levels and I
would like to be able to go
> through just the child nodes for each parent
node. Can anyone show
> me
> some code to do this? I'm
stumped.
>
> I'm dynamically adding nodes to the tree.
>
> <mx:Tree id="treeMenu" indentation="3"
height="100%" width="100%"
> change="changeMenu()"
defaultLeafIcon="" folderClosedIcon=""
> folderOpenIcon="" />
>
>
>
>
>
>
>
> _____
>
> Yahoo! Groups Links
>
> * To visit your
group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/>
>
> * To
unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>
> * Your use of
Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>
Terms of Service.
Yahoo! Groups Links
|