I would like to disable dragging between two lists in jQuery nestable plugin.
There is an option group in documentation https://github.com/RamonSmit/Nes
In your current code, this refers to the parent scope, somethings like window or document, not .dd.
this
window
document
.dd
You have to call nestable for each list, try this:
$('.dd').each(function(){ $(this).nestable({ maxDepth: 1, group: $(this).prop('id') }); });