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

Ordering Field Names

3 Answers 81 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Lulu
Top achievements
Rank 1
Lulu asked on 08 Sep 2016, 09:15 PM
Is there a good way to order the field names as they appear in the RadFilter control? I have a filter control that uses the expression tree. However, the field names display in the order as it appears on the RadGrid that is used to populate the results. I'd like it to be organized alphabetically so it's easier for people to find the fields that they need. I haven't found any way of doing this so far. Any ideas?

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 Sep 2016, 05:15 PM
Hello,

The list of the field names in the RadFilter context menu depends on the order it is in the filter container / data source. 

Regards,
Pavlina
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Lulu
Top achievements
Rank 1
answered on 13 Sep 2016, 05:52 PM
Yes, I understand that. I was wondering if there was some way to customize theorder of the list?
0
Pavlina
Telerik team
answered on 14 Sep 2016, 12:34 PM
Hi,

There is no built-in functionality/property for ordering the fields. You need to use a custom approach in order to achieve the desired functionality.

Regards,
Pavlina
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Filter
Asked by
Lulu
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Lulu
Top achievements
Rank 1
Share this question
or