Filter directive doesn't work with Grouped data

3 posts, 0 answers
  1. Alex
    Alex avatar
    25 posts
    Member since:
    Oct 2011

    Posted 14 Jun 2019 Link to this post

    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. Alex
    Alex avatar
    25 posts
    Member since:
    Oct 2011

    Posted 14 Jun 2019 in reply to Alex Link to this post

    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

  3. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1282 posts

    Posted 17 Jun 2019 Link to this post

    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.
Back to Top