This is a migrated thread and some comments may be shown as answers.

Extra menu filter in row mode

3 Answers 204 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohamed
Top achievements
Rank 1
Mohamed asked on 07 Apr 2016, 03:59 PM

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,

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 11 Apr 2016, 07:22 AM

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!
 
0
Paul
Top achievements
Rank 1
answered on 15 Sep 2020, 02:47 PM

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!

0
Ivan Danchev
Telerik team
answered on 17 Sep 2020, 12:59 PM

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/.

Tags
Grid
Asked by
Mohamed
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Paul
Top achievements
Rank 1
Ivan Danchev
Telerik team
Share this question
or