-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reloading/Refreshing treetable on object associated change #211
Comments
Hey, having the same issue here. The parent/child tree is gone, and I cannnot expand/collapse anymore. |
We resolved this not by destroying the instance but removing all the inherit classes added by treetable and then instantiating the table again. |
I solved this with a query string and reloading the page :( |
You can force the tree to reinitialize by passing boolean value true as a paramter to the treetable function call. This is from the official docs :
|
I am using treetable with vuejs and I sometimes need to fully reload the treetable structure when my object associated to it is updated. I am trying to accomplish this by destroying my treetable instance and then removing the intenders. Problem is that after I destroy my treetable and initiate it again my branches are all messed up. Any suggestions?. Thanks in advance.
The text was updated successfully, but these errors were encountered: