jquery-sortable icon indicating copy to clipboard operation
jquery-sortable copied to clipboard

Remove items from one list

Open fleed opened this issue 9 years ago • 0 comments

I have two lists: source and destination. I'm able to copy items (duplicates possible) by dropping items from source to destination, achieve through this code:

onDragStart: function ($item, container, _super) {
                    // Duplicate items of the no drop area
                    $item.clone().insertAfter($item);
                    _super($item, container);
                }

Problem is that I should also be able to delete items from destination just dropping them anywhere out of the list. Is it possible to do it?

Thank you

fleed avatar Jan 23 '17 01:01 fleed