Extra menu filter in row mode

4 posts, 0 answers
  1. Mohamed
    Mohamed avatar
    15 posts
    Member since:
    May 2015

    Posted 07 Apr 2016 Link to this post

    Greetings,

    I'm using a Kendo grid with filterable mode set to row, and I have the filter in the menu as well that allow 2 options.

    If we select to options from the menu "VALUE A" or "VALUE B", the filter is applied correctly but in the row input only "VALUE A" is displayed.

    Is there a way to:

    1. Display both values in the row?

    or 

    2. Disable the row for that columns without displaying any values in that case?

    Thanks,

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 11 Apr 2016 Link to this post

    Hello Mohamed,

    As far as I understand the the first problem is that you are trying to display second filter criteria (usually by setting filterable.extra to true). I am afraid that by design it is not allowed to render an input for second filter criterion when filter row mode is used. A valid workaround for this case is to use a separate filter form/menu outside the Kendo UI Grid and use filter method of the Kendo UI DataSource to filter the data shown in the grid. 

    Regarding the second question - in order to display the input filter shown in the filter row for specific column I would suggest to use  columns.filterable.cell.template function to define a simple input element with disabled attribute. 

    Regards,
    Boyan Dimitrov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Paul
    Paul avatar
    2 posts
    Member since:
    Aug 2020

    Posted 15 Sep 2020 in reply to Boyan Dimitrov Link to this post

    Hi Boyan,

    Is the ability to add a second filter criterion still not possible when filter row mode is used?

    Is the separate filter form/menu outside the Kendo UI Grid still the only workaround?

    Many thanks!

  4. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2184 posts

    Posted 17 Sep 2020 Link to this post

    Hello Paul,

    There hasn't been any changes in that regard, and a second criterion is still not available in filter row mode. So what Boyan said is still valid.

    Regards,
    Ivan Danchev
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Back to Top