Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147177 | Sep 3,2019 11:58 PM UTC | Sep 4,2019 05:37 PM UTC | Vue | 1 |
![]() |
Tags: Treeview |
nodeClicked: function(args) {
var node = this.$refs.tree1.getNode(args.node);
console.log(node);
//expand the nodes
this.$refs.tree1.expandAll([node.id]);
console.log("expanding node " + node.id);
// uncomment this to expand the selected node alone
// this.$refs.tree1.expandedNodes = [node.id]
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.