Sortable with multiple Drop Targets (Groups)

Created on 15 Feb 2020  路  2Comments  路  Source: SortableJS/Sortable

Problem:

Hi ! I'm trying to solve a problem where I have multiple groups of items. The items can't be dragged between each other (so different group), but should be able to be dropped on a single zone from multiple buckets. How can i achieve this functionality wherein I can assign multiple groups to each sortable so that I can achieve this functionality?

Most helpful comment

Thank you very much @oskarrough. This is exactly I was looking for. If I'm not wrong, this functionality is not documented properly. I'll go through once and submit a PR regarding the same. Thanks again.

All 2 comments

You mean like this? https://jsbin.com/zabopuwiwu/1/edit?html,css,js,output

Thank you very much @oskarrough. This is exactly I was looking for. If I'm not wrong, this functionality is not documented properly. I'll go through once and submit a PR regarding the same. Thanks again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

artaommahe picture artaommahe  路  4Comments

irfanlone picture irfanlone  路  3Comments

geonanorch picture geonanorch  路  3Comments

kaermomo picture kaermomo  路  3Comments

chrishaigy picture chrishaigy  路  3Comments