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

Customize filter operators for DataFilter control

1 Answer 130 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
T
Top achievements
Rank 1
T asked on 18 Aug 2014, 09:46 AM
Hi,

We are considering whether to buy the WPF Telerik controls. However we have some difficulties to customize the data filter operators for DataFilter control.
For example, if i would like to only display IsEqualTo or NotEqualTo as operator selection only, what should i do? 

Also, we have custom data type that might need to use a custom filter operator list. Can we pass in our own set of operator to the control? For example, some property like OperatorSource = {Binding OperatorList}?

Hope to hear from you soon.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 19 Aug 2014, 08:22 AM
Hello,

RadDataFilter has an event called FilterOperatorsLoading. You could remove some of the available operators through the AvailableOperators property of the event arguments once it is raised.

As to your second query, you cannot specify your own operators list.

I hope this helps.

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
DataFilter
Asked by
T
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or