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

Extending the base FilteringControl

0 Answers 15 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 20 Nov 2018, 02:16 AM

I'm currently looking at a project using Telerik UI for WPF 45.2017.1.222.

We have a GridViewDataColumn, and need some extra filtering capabilities on it. However, we'd also like to retain the base functionality of the Telerik filtering control. Our extra filter would operate on a different value in our view model that is related, but not something we necessarily want to surface as a column itself.

Just as an example - say we had a column of names, and wanted to filter on the usual contains/is/is not/ etc., but also wanted to filter based on whether or not those names were or were not in a whitelist. We'd have the standard field filters but would need an extra custom one as well. 

I could go the road of creating a completely custom control, but then I would be trying to re-create a lot of that base functionality and styling to keep it consistent with other columns using the default. Would there be away around that where I could simply extend the control? 

 

Thanks!

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Brian
Top achievements
Rank 1
Share this question
or