phphe/vue-draggable-nested-tree

manual update call to force the tree to refresh

ben-roth opened this issue · 5 comments

I have want to have a second method of selecting a nodes parent, however I want to trigger the tree to rebuild once I use this other method of changing a nodes parent. Is there any way to force the tree to rebuild based on information I am passing without using the traditional drag method?

Thanks!

phphe commented

I don't understand.

Basically I am changing the data the tree is using without using the drag method, is there a way to update the tree in the view manually via a change method or something like that?

phphe commented
data = tree.getPureData()

to trigger watch changed

Thanks!

@ben-roth How do you solve it?