How to disable auto check childs?
d4rkr3pt0r opened this issue · 5 comments
Is there a way to disable auto checking sub-menus by checking parent? and of course vice versa
Edit: I want to disable the above behavior also for deleting nodes. Prevent deleting childs as well.
Edit: Another question :) How to have multiple Trees while only some of them are draggable? loading Draggable components makes them all draggable.
follow is the source code of toggleCheck
toggleCheck(node, path) {
this.$set(node, '$checked', !node.$checked)
this.afterCheckChanged(node, path)
},For your request, write your method, don't include this.afterCheckChanged(node, path)
follow is the source code of toggleCheck
toggleCheck(node, path) { this.$set(node, '$checked', !node.$checked) this.afterCheckChanged(node, path) },For your request, write your method, don't include
this.afterCheckChanged(node, path)
Thanks. What about having multiple trees while making some of them draggable?
The pro version supports multiple tree draggable: https://he-tree-vue.phphe.com/buy_pro.html#licenses
follow is the source code of toggleCheck
toggleCheck(node, path) { this.$set(node, '$checked', !node.$checked) this.afterCheckChanged(node, path) },For your request, write your method, don't include
this.afterCheckChanged(node, path)
Thanks. What about having multiple trees while some of theme
The pro version supports multiple tree draggable: https://he-tree-vue.phphe.com/buy_pro.html#licenses
This is not what i'm looking for. I have 3 Trees in a single page. I want just one of them to be draggable not all of them. how can I use IsDraggable to disable draggable on other two Trees ?
https://he-tree-vue.phphe.com/api.html#draggable
e.g.:
<Tree :draggable="false" :droppable="false"></Tree>