Hey Deepster, Can you supply a sample code of this even if its just a simple sample. Greatly Appreciated.
Edsaid On Tue, Nov 3, 2009 at 8:16 AM, GAGAN anand <[email protected]> wrote: > Hi Mic > > I got your issue. I was also facing the same issue. Actuially when you are > dragging any item and droping the same into another container then you are > using the same instance means that in drop target you are giving the same > reference of the dragged item. > > You need to just create a new instance of the dragged item while dropping > and add it to the drop container. > > Then it will not remove from your previous container. And in case of right > drop container, remove the item from the dragging container. > > Hope this helps > > Regards > Gagan Deep > > > 2009/11/3 Mic <[email protected]> > > >> Hi All >> >> I have an interesting problem. I have four lists named as Device List, >> Selected device list, Media List, selected Media List. Required >> functionality is Items from Device List can be dragged (Moved) to >> Selected Device List only (not to other lists) and Item from Selected >> Device List to Device List only. Same functionality applies to Media >> and Selected Media list. I implemented the drop handler to handle >> this, it almost worked except one issue. that is when I drag an item >> from Device List to Media List It prevents the Item to add to media >> list but it also removes from Device list. I don't know how to prevent >> this. >> >> Thanks in advance. >> >> Thanks and Regards >> Mic >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

