Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
Custom sort GroupBy Rows
posted

Hi,

I am trying to sort groupby Rows base on the grid row index. The sorting that is shown on Picture1 is exactly what I want. It can be done using IComparator by comparing the row index. However, once I add another sorted column under that group, the sort has changed. Here are my questions:

1. Is there a way I can fix the GroupbyRow order (in my case, PIcture 1 attachment as is) no matter how I change the rest of the grouping?

2. Is there a way I can GroupBy base on the row index?

I do not know if I am asking the right questions but I just want my "Scenario" column to have specific GroupBy order. I do not want to see any other grouping interrupting that order. Any idea?


Thanks!

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    I'm afraid I do not understand what you are trying to do and there is no picture attached to your post.

    If you want to sort the GroupByRows in the grid in a different order than the grouped column is sorted, then you can use the GroupByComparer property on the column. I've discussed this on these forums many times, so if you search for GroupByComparer, you will find a lot of info on this and how it works.

     

Children