ng-sortable
ng-sortable copied to clipboard
Preventing an item to sort.
For example i have 1 2 3 (items) and i have locked item 2, how can i tell to sortable to not touch that item, it must be on place 2. when i move 3 to 1, it should be 3 2 1. I saw that we have something like no-drag
i tried to move it around without success.
@CrackerakiUA right now the item level locking feature is not available with this plugin. only the drag can be prevented at the list level. However this is a good candidate for future enhancements.
I would like to add my vote for this enhancement. I can work around the issue in the short term, but I could definitely use this feature. This is a very useful plug-in that doesn't require JQuery. Thanks.
Add my vote as well! Great plugin overall compared to many, but I need to prevent dragging on placeholder items, similar to this other issue: A list with just placeholders