Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Selecting a node programmatically #39

Open
jmguil opened this issue Jun 13, 2018 · 1 comment
Open

Selecting a node programmatically #39

jmguil opened this issue Jun 13, 2018 · 1 comment
Labels

Comments

@jmguil
Copy link

jmguil commented Jun 13, 2018

Hello,
Maybe it is possible natively, but i haven't found it how, but how could i selected a node programmatically?
I'am working with VueJS.

Here is my use case:
I have the tree view component on the left part of my app and when i click on a node (Node1) it expands its children (Node1.1, Node1.2, Node1.3,...)
Then on the right part of my app i have the content page component which will sometimes display the list of the children too (Node1.1, Node1.2, Node1.3,...)
What i would like is when in the content page i click on let's say Node1.2 , that in the tree view the node Node1.2 would be selected, and so the expension of its children would be triggered

Thanks for your help.
JM

@elbywan
Copy link
Owner

elbywan commented Jun 24, 2018

Hey @jmgull,

Sorry for the late response, but you can have a look at issue #10 which is basically solving what you want to achieve except for the fact that it's using angular.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants