You have to build up the dataprovider and pass it into the tree.  If you
change the dataprovider later, the tree will notice in most cases.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Sal
Sent: Tuesday, April 03, 2007 5:38 PM
To: [email protected]
Subject: [flexcoders] Tree and Array



hi,
i have an array of records received from an amfphp call and i need 
to fill a tree control with that data. 

the array has this format:

aArr[0].id
aArr[0].description
aArr[0].parent
aArr[0].order

aArr[1].id
aArr[1].description
aArr[1].parent
aArr[1].order

... and so on

i didn't find any method of the control that adds node or that sets 
node parent. 

Any ideas?

Thanks.



 

Reply via email to