Sorry Jignesh, a simple TreeDataDescriptor
example will be coming in the B2 docs but I don’t know if it will help.
How will your 2 or 3 ArrayCollections work. What is the relationship between
them? Should you be considering building a structure of value objects on your
server as opposed to assembling on the client? If you do keep the 3 collections the main
thing you need to do is define your getChildren function for the descriptor.
Given a node, find the children and return an ICollectionView with that data.
So how is that going to work, will you start out reading from one collection,
then the children will be in the 2nd collection, then the grandchildren
will be in the 3rd? If so, define your function to read that stuff
appropriately. If you provide some examples of what the
data tables will look like and what the tree needs to look like maybe someone
can help you further. Matt From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jignesh Dodiya Still i am not getting the sollution........ there is no any example for TreeDataDescriptor in the docs...........anybody has
an idea how can I put data in tree control as from the mySQL
database and from 2 different tables On 2/27/06, Jignesh
Dodiya <[EMAIL PROTECTED]>
wrote: Its great, thanx Matt, Is there any working sample available regarding ths............... Jignesh On 2/27/06, Matt
Chotin <[EMAIL PROTECTED]>
wrote: Flex 2 allows you to specify a TreeDataDescriptor for this
exact purpose, specify the top-level data to the Tree and then use the
descriptor to read into those other arrays as necessary for the children (or
other parts of the data). MAtt From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jignesh Dodiya I think ,
it seems really very difficult or just it may be wrong way or bad
stuffs On
2/26/06, Jignesh M. Dodiya < [EMAIL PROTECTED]>
wrote:
SPONSORED
LINKS
YAHOO!
GROUPS LINKS
-- jignesh dodiya
|
- RE: [flexcoders] Tree+ datas from mySQL Matt Chotin
- Re: [flexcoders] Tree+ datas from mySQL Jignesh Dodiya
- RE: [flexcoders] Tree+ datas from mySQL Matt Chotin