Skip to content
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

how to get the selected parent or child node data on click #10

Open
tanjoreraj opened this issue Sep 25, 2018 · 1 comment
Open

how to get the selected parent or child node data on click #10

tanjoreraj opened this issue Sep 25, 2018 · 1 comment

Comments

@tanjoreraj
Copy link

Hi, i am trying to get the data of the node, when clicked on a particular node of the tree.

Please help...

@1inus
Copy link
Owner

1inus commented Oct 8, 2018

Sorry for the late reply.

here is a demo below:

 public treeConfig : any = {
        dataMap:{
            children:"nodes"
        },
       onClick:(node)=>{
            .....
       }
    }

please refer to the documentation for more details.

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

No branches or pull requests

2 participants