We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can I set the tree to be rendered with all the nodes are collapse?
The text was updated successfully, but these errors were encountered:
Even I'm looking for same. Please let me know if you have found anything.
Thanks
Sorry, something went wrong.
template
<tree :data="data" ref="tree" > </tree>
js
this.$refs.tree.collapseAll(this.$refs.tree.internaldata.root)
@guog 's solution works. Thanks!
For the longest time, i was passing the json into the function instead of this.$refs.tree.internaldata.root
this.$refs.tree.internaldata.root
No branches or pull requests
How can I set the tree to be rendered with all the nodes are collapse?
The text was updated successfully, but these errors were encountered: