It sounds like your UIDs will change, since you are apparently re-assigning
the generated xml to the Tree.dataProvider property.  Is that the case? 

 

It will help us help you if you use more specific, language based
terminology.  For example when you say, "update the tree node data", it is
hard to know what you are actually doing, and that matters to the solutions
we suggest.  If you are not sure how to phrase it, post the appropriate
lines of code.

 

If your dataProvider is being replaced, you will have to restore the trees
"disclosure" state manually.  That would be fairly simple if you have some
unique identifier on your nodes.  You would store a list of "open" node ids,
then using e4x to find each those nodes in the xml, open that node.  Then,
walk up the tree using parent(), opening each node as you go, until you
reach the root, or an already opened node.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Abdul Nizar
Sent: Friday, December 18, 2009 10:16 AM
To: flexcoders@yahoogroups.com
Cc: flexcoders@yahoogroups.com
Subject: [SPAM] [flexcoders] Reg: Tree Node Expand

 

  


Hi,
   Am using the dynamics generated XML input to the TREE.
   After update the TREE NODE DATA, I want to restore the TREE Structure.
  ( ie) I want to open the particular node in that tree after refresh.)
   What ll i do.


Regards,
Abdul.
Catch @ (0) 9790503327.





  _____  


The INTERNET now has a personality. YOURS! See
<http://in.rd.yahoo.com/tagline_yyi_1/*http:/in.yahoo.com/>  your Yahoo!
Homepage.



Reply via email to