5 Answers, 1 is accepted
0
Hi Marnix,
Can you please clarify whether you are using RadGridView, or RadDataFilter? What are the items that you are trying to sort? In case you refer to RadGridView, you can manipulate its DistinctValues collection. This topic is discussed in greater detail here.
Regards,
Stefan
Progress Telerik
Can you please clarify whether you are using RadGridView, or RadDataFilter? What are the items that you are trying to sort? In case you refer to RadGridView, you can manipulate its DistinctValues collection. This topic is discussed in greater detail here.
Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0

JIG
Top achievements
Rank 1
answered on 06 Jun 2018, 12:27 PM
it's a raddatafilter linked to a radgridview source, in the datafilter we get the columns of the radgridview available for selection but those items i would like to be able to sort
0

JIG
Top achievements
Rank 1
answered on 06 Jun 2018, 12:29 PM
i included an example, i would like to be able to sort the items alphabeticly for example and not in the order of the columns
0

JIG
Top achievements
Rank 1
answered on 06 Jun 2018, 12:30 PM
i included an example in which you can see that the raddatafilter items are sorted in the same order as the gridcolumns but i would like to sort the items differently
0
Hi Marnix,
Thank you very much for the provided image.
The logic for generating the filter operators of RadDataFilter is internal for the control. What might be a possible solution would be to edit the template of the control. There is a RadComboBox instace with Name="PART_SimpleFilterMemberComboBox" defined within it. You can try applying an IValueConverter to its ItemsSource binding to achieve your goal. Can you please check this out?
Let me know in case I can be of further help.
Regards,
Stefan
Progress Telerik
Thank you very much for the provided image.
The logic for generating the filter operators of RadDataFilter is internal for the control. What might be a possible solution would be to edit the template of the control. There is a RadComboBox instace with Name="PART_SimpleFilterMemberComboBox" defined within it. You can try applying an IValueConverter to its ItemsSource binding to achieve your goal. Can you please check this out?
Let me know in case I can be of further help.
Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.