johnny / johnny/jquery-sortable

Remove items from one list

Open
#232 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1.5k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

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:

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.