After a fresh cup of joe, I think I've figured it out. Because I've
retrieved the underlying object graph from FDS, it is still under the
control of the DataService's propertyChange event. This gets fired
everytime a property changes in the tree. The solution is to call
DataService.releaseItem(Tree's DataProvider) before you manipulate it.

Now, when I save the changes to the tree, I'll just make the FDS call
to get the object graph, then re-assign it to the object graph from
the tree. I'll also need to check the row version to see if anybody
else has modified the object.


--- In flexcoders@yahoogroups.com, "box110a" <[EMAIL PROTECTED]>
wrote:
>
> I have a tree that is populated with an object graph from FDS. Drag
> and Move is enabled on the tree. I have a TreeDataDescriptor with an
> "addChildAt" method implemented. Whenever I modify the "parent" or the
> "newChild" object inside of this method, the tree fires off some
> event, which takes longer and longer depending on how many nodes are
> in the tree. This really slows down the addition/moving of nodes. 
> 
> Question: What is adding these event listeners?  What do they do? How
> do I identify them and how do I prevent them from getting added?
> 
> The Tree has mixed object types but they are all subclasses of one
> object.  All Children of each Node returns an ArrayCollection. Has
> anybody run into this problem? Let me know if you need code?
> 
> Thanks,
> JB
>







--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to