angular-tree-component icon indicating copy to clipboard operation
angular-tree-component copied to clipboard

how to get checked angular tree component value ?

Open saravanacs opened this issue 6 years ago • 2 comments

PLEASE READ CAREFULLY!

Reproduce

Please reproduce here if reporting a bug, or requesting help: https://stackblitz.com/edit/angular-wxansn

Additional Info

  • paste your package.json
  • which browser
  • paste your code

Use the Slack Channel

The fastest way to get an answer is via the slack channel: https://angular-tree-component.herokuapp.com/

You will also get updates on releases, bugfixes and other announcements.

Search Docs First

Please look for an answer in the docs before submitting an issue: angular2-tree.readme.io.

saravanacs avatar May 13 '19 09:05 saravanacs

You can use tree.treeModel.selectedLeafNodeIds which gives nodes id with value true or false indicating the selection of node.

iamsank8 avatar Apr 17 '20 05:04 iamsank8

You can use tree.treeModel.selectedLeafNodeIds which gives nodes id with value true or false indicating the selection of node.

life saver, hadn't realized selectedLeafNodeIds was a dictionary

ruslanpascoal2 avatar Jun 02 '21 14:06 ruslanpascoal2