McRange / Material-Kanban-Board

This plugin allows easy integration of a Kanban board into your own application. Your business processes can be grouped and visualized clearly. With Drag'n Drop you can move the cards between a dynamic number of columns. Adjust the icons, colors and other attributes to your personal needs. Expand the cards with any HTML content to display more information and enable more functions.
Other
55 stars 17 forks source link

Disable drag/drop for some elements #5

Open willeja opened 5 years ago

willeja commented 5 years ago

Hello,

I would like to know if it is possible to disable drag/drop for elements that are created by someone else. We can add a class or something else to identify which of the elements can be moved or not...

So, how can we provide this feature?

Kind regards,

Jan

McRange commented 2 years ago

currently there is no official wy to do this. But you can du it with some lines of javascript after the refreshing the region and set "pointer-events: none;" for your undragable items