johnny / johnny/jquery-sortable
Prevent a drop at a particular item in the list.
Open
- Dominant language
- HTML
- Stars
- 1.5k
- Forks
- 429
- PR merge metrics
- No merged PRs in 30d
Description
I want to exclude some items from being dropped at.
`
- `
- item1 `
- item2 `
- item3 `
- item4 `
`
`
`
`
`
`isValidTarget` allows only for checking if the whole target container is droppable but I can't use it for a particular item in the container.
How can I retrieve id of the target item to be dropped at in `isValidTarget` in order to use it for preventing a drop in my customized `isValidTarget` function.
A code example would be a great help.
Sorry, English is not my strong asset.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.