I am having trouble figuring out the difference between all of these
events and need to know the best one to use. I'm using 2 lists and the
ability to drag back and forth between them using connectWith. When an
item goes from the left list to the right list, I have a receive
function that simply marks that item as no longer in the menu. That's
the only event i really need on the right side, however the left side
is more complicated.

On the left side I need to update the items when the list is sorted
within itself as well as when an item is dropped from the right side.
I tried update, however it has a duplicate of the item that is sorted
in the sort list. So i used the stop function to handle the sorting,
but neither of these do anything when an item is dropped onto the
list, so I had to make a 3rd function (receive) when this event
happens.

1. this has turned out to be a whole lot of difficult to manage code
2. sometimes it will fire 4 events on 1 action


What's the best way to handle this situation?

Thanks.

Reply via email to