Are you updating the whole DataProvider?  If so, then you will need to
store the selectedItems array and re-set it after the dataProvider is
changed.

 

If you are updating the individual nodes using the api, then the tree
will not close/initialize.

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of helihobby
Sent: Thursday, February 01, 2007 1:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Possible to update an XML List collection while
keeping a Tree Control open ?

 

Hello,
I have an XMLListCollection which is used as a data source for a Tree 
control. The problem is that when I get a new update from an HTTP 
Service, the Binding updates the complete Tree thus closing all current 
Leafs.

Is it possible to keep the folders / leafs keep their state while after 
receiving an update on the under line XMLListCollection data source ?

Thanks,

Sean.

 

Reply via email to