RE: [SPAM] [flexcoders] Reg: Tree Node Expand

2009-12-19 Thread Tracy Spratt
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.





[flexcoders] Reg: Tree Node Expand

2009-12-18 Thread Abdul Nizar
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 your Yahoo! Homepage. 
http://in.yahoo.com/

RE: [flexcoders] Reg: Tree Node Expand

2009-12-18 Thread Alex Harui
If the UIDs don't change, simply save and restore openItems

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Abdul Nizar
Sent: Friday, December 18, 2009 7:16 AM
To: flexcoders@yahoogroups.com
Cc: flexcoders@yahoogroups.com
Subject: [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 your Yahoo! 
Homepagehttp://in.rd.yahoo.com/tagline_yyi_1/*http:/in.yahoo.com/.