Example https://stackblitz.com/edit/primeng-tre ... onent.html
In the Example I type 'doc' in the filter. Then I click on Expenses.doc. onNodeSelected is triggered, which calls nodeSelect($event). The event does not return the node Expenses.doc, but it returns always the first Node, which is Documents.
I want to get the selected Node, which in this case is Expenses.doc, I tried with [(selection)]="selectedFile", but this also returns the first Node, which is Documents.
Tree filter onNodeSelect gives incorrect node
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests