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

[Solved] Combining multiple column filters with an OR operator

1 Answer 529 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 1
Eugene asked on 18 Dec 2014, 11:13 PM
In the existing UI is it possible to combine filters from two columns with an OR operator.  Imagine I have a column Units in Stock and a column price.  If I wanted to put together a filter Units in Stock < 10 or Price > 100$ is it possible with the current UI?

Thanks a lot.

--e

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 22 Dec 2014, 10:08 AM
Hello Eugene,

Thank you for contacting us.

Currently the filter UI do not provide such option. This however is supported by the API, see the filter method of the DataSource:
I suggest you to create a custom UI filter box and use the filter method of the DataSource to filter the data with an "or" logic. The Grid will automatically refresh after the filter method is invoked.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Eugene
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or