I'm using jstree 3_3_5 with the 'dnd' and 'checkbox' plugin.
Currently when i checkmark multiple nodes and drag one of them, jstree tells me "2 nodes +" are being moved (see image) but unfortunately only 1 is moved. I thought drag_selection would drag all marked nodes, but for some reason only one node moves.
Is drag_selection supposed to move multiple nodes? If so is it supposed to move only those that are checkmarked?
dnd: {
"drag_selection" : true,
},
...
"check_callback" : function (op, node, par, pos, more) {
if((op === "move_node" || op === "copy_node") && more && more.core && !confirm('Are you sure you want to drag these nodes?'))
{return false;
}
return true;
},
I'm using jstree 3_3_5 with the 'dnd' and 'checkbox' plugin.
Currently when i checkmark multiple nodes and drag one of them, jstree tells me "2 nodes +" are being moved (see image) but unfortunately only 1 is moved. I thought
drag_selection
would drag all marked nodes, but for some reason only one node moves.Is drag_selection supposed to move multiple nodes? If so is it supposed to move only those that are checkmarked?
...