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

Changing the FilterOperators

1 Answer 59 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Kawika
Top achievements
Rank 1
Kawika asked on 05 Feb 2014, 06:29 PM
I was wanting to know if there was a way to add to the FilterOperator enums or change what they display as. If those were not possible, can I override the operators dropdown with my own collection?

1 Answer, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 07 Feb 2014, 03:03 PM
Hi Kawika,

The only possible action with the FilterOperations enumeration is to remove items from it during the FilterOperatorsLoading event. Adding new FilterOperations is impossible because there is no way of knowing if the new operation will work correctly.

What you can do is to create a custom filtering control, however this means that you will have to implement the filtering logic too. You can see this blog post and this article in our online documentation both of which explain how to create a custom filter.

Regards,
Hristo
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
DataFilter
Asked by
Kawika
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or