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!
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.
If you refer to the attached (Picture2.jpg), once I group an addition column, all the orders are sorted which I do not want to see. Do you understand what I am trying to say? Sorry for the confusion.
As I mentioned above, I did implement GroupByComparer. The attached attachment shows the correct order I would like to see.