I want to click first node from TypeScript side and trig onNodeSelect event.
I success selection but not click trigger.
html:
<p-tree #expandingTree [value]="unitTree" ...
ts:
@ViewChild('expandingTree')
expandingTree: Tree;
...
this.expandingTree.selection = this.unitTree[0];
Tree Component Click Any Node Manually, Not Selecting
-
- Information
-
Who is online
Users browsing this forum: No registered users and 21 guests