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

Add distinct values to column filter

1 Answer 386 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Veteran
Martin asked on 01 Jul 2020, 08:33 AM

 

I know that it is possible to remove distinct values from the filters, as described in this article: https://docs.telerik.com/devtools/wpf/controls/radgridview/filtering/how-to/howto-display-all-distinct-values

But I want to add distinct values to the column filter. The use case would be when the user is creating a favorite for a specific set of filters. When the user comes back later to the list, it may not contain the values that the favorite filter had specified at that moment. But the user would like to still be able to see what the filters for the favorite looks like.

Is it possible to add distinct values to a column filter, without creating a custom filter editor? 

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 06 Jul 2020, 07:00 AM

Hello Martin,

Thank you for the referenced article. 

The distinct values are meant to display the values of the property in the corresponding column for all of the objects shown in the RadGridView.

With this in mind, if you want to extend the functionality of the FilteringControl, the best approach would be to customize it.

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
GridView
Asked by
Martin
Top achievements
Rank 1
Veteran
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or