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

Howto deselect specific Node #83

Open
mssod opened this issue Jun 6, 2018 · 1 comment
Open

Howto deselect specific Node #83

mssod opened this issue Jun 6, 2018 · 1 comment

Comments

@mssod
Copy link

mssod commented Jun 6, 2018

I wrote a tag-input component which displays the selected nodes of the ember-cli-jstree component. Select or deselect nodes in the tree works find. The list of selected nodes is correct. Now I want to remove a specific tag from the tag-input component. If I remove an item from the selected node list, the related checkbox in the tree is always checked.

Is it possible to deselect the tree node?

This works:
this.get('jstreeActionReceiver').send('closeAll');

Thank you!

@alex-konoval
Copy link

@mssod Try this:

this.get('jstreeActionReceiver').send('deselectNode', node);

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