How to implement "IN" Condition for Data Grid Column

1 Answer 65 Views
Filter  Grid
Karthikeyan
Top achievements
Rank 1
Iron
Karthikeyan asked on 16 Nov 2021, 11:28 AM

Hi Team,

I need to implement IN condition filter for Data Grid Column.

For Example:

User tries to apply filter on "Country" Column in Grid with values like "INDIA, USA, CHINA"

 

--

Thank You

Karthikeyan Rajakumar

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 16 Nov 2021, 02:37 PM

Hi Karthikeyan,

Currently using "in" operator is not supported, but we have a feature request for it. You can give a vote for the item, so it can get higher priority:

Meanwhile, the only option for the moment is to handle the filtering manually by traversing through all filter expressions and perform the custom filtering over the data. I have made a very simple example with one column that filters over an array field:

However, for multiple columns the above example should be changed, so it can handle multiple filter expressions.

 

Regards,
Konstantin Dikov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Filter  Grid
Asked by
Karthikeyan
Top achievements
Rank 1
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or