-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing Restricted Column Movement for Specific Items #95
Comments
Hi there @OliverArthur , any luck with this? I've been trying to prevent dragging a group into another group via the @Move handler and returning false doesn't seem to prevent the move at all. |
Hi @gedrick , I gave up in the end after many different tries, and I think this library is not being maintained. Now I'm using this library @formkit/drag-and-drop, which I discovered recently during Vue.js Amsterdam last week. It's a very good library and allows you to extend the drag-and-drop functionality via custom plugins that you can create. |
Thanks for the reply - I did ultimately get it working - I had to call .pause() on the draggable instance - but it was certainly more painful than I expected. And now dealing with what appears to be an abandoned library is very disheartening. I will check out that one you linked. |
hi. |
Hello,
I'm currently working with a Vue component to create a draggable list across multiple columns. My objective is to restrict the movement of certain items between columns based on a specific property (e.g.,
required
property).In my implementation, items are draggable within and across columns. However, I need to implement a functionality where items marked as
required
should not be moved to other columns, but can still be rearranged within their own column.Here is a snippet of my current implementation:
sortable-list.vue
sortable-list-two-column.vue
I have attempted to address this issue by making adjustments in the
onStart
andonMove
events, as shown in the provided code. My approach involves controlling the draggable behavior based on the required property of the items. However, these modifications have not been successfulThe text was updated successfully, but these errors were encountered: