Possible to disable drag and drop?

Jun 3, 2015 at 5:08 PM
I actually added an checkbox in the configuration to Disable drag and drop and added an check in the beginning of the UpdateCard function to bypass the list update, but how do I disable the actual drag and drop of the cards.
many thanks in advance!
Coordinator
Jun 4, 2015 at 3:41 PM
Edited Jun 4, 2015 at 3:42 PM
-1 Output the state of the checkbox into a javascript variable in WebPart.cs (search "Inline script to give configuration")

-2 Use that var from #1 to disable the draggable CSS classes in the WebPart.js (search listSortable

-3 Use that var from #1 to disable the javascript functions called to update list on move WebPart.js - search UpdateList and Sortable_onUpdate

Sorry can't give you any more help than this - good luck!
Jun 4, 2015 at 4:30 PM

Works great! Many thanks!

Laura LaMalva