0 Replies Latest reply on Dec 6, 2007 5:10 PM by bergpj00

    Flex 3 Drag and Drop slow performance

    bergpj00
      I have a scenario where I have 2 trees in a custom component that allows data to be dragged from one to the other. In a particular case, I have 2000 nodes at a certain level in a tree. When I try to copy 2000 at a single time, the application basically freezes. I am currnently using an ArrayCollection as the dataprovider. While debugging, I have increased the script execution timout to about 60 seconds. It seems to take about 45 seconds to copy 2000 nodes. Each node is a lightweight object that simply contains two properties: label and data. Obviously 45 seconds is unacceptable. In fact, I wouldn't accept anything over a second or two. I'm assuming that internally, flex is firing a bunch of events and trying to redraw the tree each time a single item is delete from the tree. This would explain the length of time it currently takes. If anyone knows how to resolve this, please let me know. Thanks!