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

Grid - Multiple dynamic filters on column

2 Answers 451 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Xavi
Top achievements
Rank 1
Xavi asked on 15 Dec 2015, 12:54 PM

Hello!

 

We are currently using the Kendo UI Grid component to display data about people. Right now, for each column we can have one or two filters by setting the option extra to 'true'.

 

But now we need more filters. We need to be able to add dynamically more than two filters. Is there an out-of-the-box way to achieve that? Our idea is to add an extra button next to the 'Apply' and 'Clear filter' buttons that allows us to add another filter.

We noticed that the filter are using binding, is there a way to use it to add more filters?

 

Best Regards

2 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 17 Dec 2015, 09:51 AM

Hello Xavi,

 

I already replied in your support ticket. 

 

There is no built-in way to add more than two filters to the default filter menu. However applying additional filter conditions is possible if you use the Grid datasource API:

 

    - http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-filter

    - http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#fields-dataSource

 

If the multiple flter conditions should be defined by the user, then you will have to use some custom UI outside the Grid. This is required because the built-in filter menu does not allow defining more than two filter criteria. 

 

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
Jyothsna
Top achievements
Rank 1
answered on 10 Mar 2017, 07:15 AM

Hi Xavi,

Are you done with this.(adding more filters in kendo grid)..How do u acheive this..It will be more helpful for us..thanks

Tags
Grid
Asked by
Xavi
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Jyothsna
Top achievements
Rank 1
Share this question
or