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

Preventing an item to sort.

Open CrackerakiUA opened this issue 9 years ago • 3 comments

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 avatar Oct 20 '15 08:10 CrackerakiUA

@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.

a5hik avatar Nov 08 '15 08:11 a5hik

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.

talientinc avatar Dec 08 '15 09:12 talientinc

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

julianfresco avatar Dec 09 '15 05:12 julianfresco