Groups ordered by Alpha numeric

2 posts, 0 answers
  1. Chris Kirkman
    Chris Kirkman avatar
    101 posts
    Member since:
    Apr 2010

    Posted 02 Aug 2018 Link to this post

    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?

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3575 posts

    Posted 06 Aug 2018 Link to this post

    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.
Back to Top