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

Groups ordered by Alpha numeric

1 Answer 7 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chris Kirkman
Top achievements
Rank 1
Chris Kirkman asked on 02 Aug 2018, 02:05 PM

We'd like to show groups in a very specific order, not in the order displayed when we group by default.

I.e. assume we have 4 groups.  "Beam", "Advanced", "No beam" and "Hefty".  By default when grouped these would show up in the grid in the order

Advanced
Beam
Hefty
No Beam

We'd like this to be in the order of

Beam
No Beam
Hefty
Advanced

Is there a way to accommodate this?  For instance, maybe group by a different value (that is alphanumeric) and then show the text for the group from another property on our objects?

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 Aug 2018, 10:58 AM
Hello, Chris,     

By default, when you perform grouping, RadGridView sorts the created group rows alphabetically. This article demonstrates how to customize the groups sort order: https://docs.telerik.com/devtools/winforms/gridview/grouping/sorting-group-rows

I hope this information helps. If you have any additional questions, please let me know.  
 
Regards,
Dess
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Chris Kirkman
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or