vue-draggable-nested-tree
vue-draggable-nested-tree copied to clipboard
How to leave the nodes closed while dragging?
trafficstars
While dragging some node and it goes over some other node that is closed the node change the status to open. Is there any way to leave the node closed while dragging?
like 'max level': https://github.com/phphe/vue-draggable-nested-tree/blob/master/src/examples/MaxLevel.vue change method ondrag:
ondrag(node) {
th.depthFirstSearch(this.store.rootData.children, (childNode) => {
this.$set(childNode, 'droppable', childNode.open)
})
},