group sorting problem

2 posts, 0 answers
  1. haochen
    haochen avatar
    13 posts
    Member since:
    Jun 2014

    Posted 20 Oct 2015 Link to this post


    I have a question about GridView group sorting problem.

    If I have some data like this:

    Group_Name | Group_Order

    T_group         |        1

    T_group         |        1​

    M_group        |        3

    M_group        |        3

    M_group        |        3​​

    J_group         |         2

    J_group         |         2 

    I want to GridView grouping by "Group_name" but the group order column is "Group_Order".


    Do you have some good idea?

    Thank you




  2. Maya
    Maya avatar
    4062 posts

    Posted 22 Oct 2015 Link to this post

    Hello haochen,

    You can customize the sorting expression of the groups by overriding the GreateGroupSortExpression of a group descriptor. More information can be found in the "About Reorder by SumFunction Value" forum thread.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top