Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
How to trigger a function when selecting a node of Igx-Tree (without checkboxes)
posted

Hi all,

I have a question about the tree (https://es.infragistics.com/products/ignite-ui-angular/angular/components/tree), how could I trigger a function when there is a node selected in the tree? For example, the function takes the name of the node, and react accordingly. There are another 2 requirements in my case.

1. The tree should not have checkboxes, so its Selection = None, not BiState or Cascading

2. I don't want to use "activeNodeChanged" (www.infragistics.com/.../IgxTreeComponent.html, because it has side effect, which also triggers the function when I want to expand the tree by clicking the expand symbol next to the node. And it is not wanted.

Could anyone help?  Many thanks

Gotop

Parents Reply Children