Are you sure you are using the TreeDataProvider API calls to do your update and not the low level node functions?

 

You can also just re-assign the dataProvider to the tree When you are done updating it.  That is sure to force a complete refresh.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Arunkumar S
Sent: Wednesday, October 19, 2005 9:16 AM
To: [email protected]
Subject: RE: [flexcoders] How to refresh a tree component explicitly...??

 

Thanks for your response, but i can't find any method to refresh the tree...

 

I noticed that the 'Change' event of the tree component is trigged when i'm trying to add item to dataProvider, but the new added item is not displayed in the tree... So i thought of calling the refresh method if there is any, but i can't find any...

 

Is there any other way to solve this problem..??

 

Regards,

Arun.

<[EMAIL PROTECTED]> wrote:

I don't know if there's a way to "bind" the array to the tree, but I've used the TreeDataProvider API for most of that:

 

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/treeclasses/TreeDataProvider.html

 

Tree, TreeDataProvider, & TreeNode will get you what you want...

 


From: [email protected] [mailto:[email protected]] On Behalf Of Arunkumar S
Sent: Wednesday, October 19, 2005 5:08 AM
To: [email protected]
Subject: [flexcoders] How to refresh a tree component explicitly...??

Hi all,

I have some problem with the tree component. I'm providing data dynamical (array) to the dataprovider of the tree.

If i change the values of the array, the tree is not refreshed and it is showing the same values without any change. Is there any method to reload or refresh the tree component explicitly...??

 

Can any one could help me in solving this issue...??

 

Regards,

Arun.


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to