This is a migrated thread and some comments may be shown as answers.
Filter directive doesn't work with Grouped data
2 Answers 4 Views
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 14 Jun 2019, 02:39 PM

I've combined 2 of your demos, the grouped data one, and the filter directive one. Filtering doesn't work in this example. Is it possible to make the filtering work with the directive? (I assume I can fall back on manually filtering the data).

https://stackblitz.com/edit/angular-evmvba

2 Answers, 1 is accepted

Sort by
0
Alex
Top achievements
Rank 1
answered on 14 Jun 2019, 02:45 PM

If I was to filter by handling filterChange event is this the best way to filter? (Or is doing groupBy every time a bad idea?)

https://stackblitz.com/edit/angular-evmvba-8v6mtt

0
Dimiter Topalov
Telerik team
answered on 17 Jun 2019, 10:02 AM
Hi Alex,

You can use the Data Query process() function to apply grouping and filtering simultaneously and assign the "data" property of the resulting object to the field the ComboBox "data" input is bound to, for example:

https://stackblitz.com/edit/angular-evmvba-korry9?file=app/app.component.ts

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Asked by
Alex
Top achievements
Rank 1
Answers by
Alex
Top achievements
Rank 1
Dimiter Topalov
Telerik team
Share this question
or