I am stuck on an issue on kendo-treeview angular. In static data filter is working but on remote data filter is not working.
Asked
Active
Viewed 45 times
1 Answers
0
The remote data filter is not going to work out of the box. You have to implement it manually. See https://www.telerik.com/kendo-angular-ui/components/treeview/filtering/#toc-manual-filtering for details. To do that:
- Add [filterable]="true"
- Listen for (filterChange) event
- Filter categories
See my proof of concept based on kendo example: https://stackblitz.com/edit/angular-moowpy?file=src%2Fapp%2Fapp.component.ts
Filtering children or filtering categories based on children's data is possible but more complicated because it requires changing the API. I can imagine some additional request that would return categories based on filter query. But that depends on your application logic and architectural decisions.

alexdefender93
- 76
- 5
-
I have already implemented these functionality. But in this functionality we have able to search parent node not able to child node. – Shubham Joshi Jul 26 '23 at 07:44
-
As I mentioned in my answer to search across child nodes you have to implement an additional API that returns categories by a search query. Otherwise, it's not going to work. – alexdefender93 Jul 26 '23 at 18:04