How are you updateing the dataProvider?  If you use the correct API, the
changes should reflect automatically.  If you are using lower level
assignments, then you might need to call itemUpdated for collections.

 

What is your dataprovider?

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben gomez farrell
Sent: Friday, October 17, 2008 12:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Refreshing graphics in a tree

 

Hey, I have a tree with a itemRenderer to have a clickable checkbox in 
it. I need to set the checkbox state sometimes through code. 
Everything works great, except the graphics of the checkbox don't update

when it's set through code (mousing over the node will refresh the
graphics)
Is there a way to refresh the graphics of all the nodes through some 
method of the tree? I CAN open and close the nodes to refresh the 
graphics, but it seems really silly, and I have to track whats open and 
closed and make sure it gets back to the same state again.

Thanks!
ben

 

Reply via email to