I want to show a list of items in a grid, grouped by the day, with the most recent items at the top. When I'm not grouping, grid correctly does not change the sort - it just takes the records as they were given (record 2063 at top):
But, when I turn on grouping, it looks like the records are sorted by the grouping field first.
Is there a way I can turn off this sort of the grouping field, or change the order? The records were already correctly grouped together, the order of records did not need to change.
Hello,
Please let me know if you need any additional assistance regarding this matter.
Hi Visitraxnet,
The forum post referenced pertains to the sort direction of date columns with groupby; that date columns were not sorted logically and ascending. For the context of your question are you referring to date columns? Or are you asking if sorting of groupby columns can be ascending/descening? What I can share is that default sort direction is ascending and this can not be changed.
What I can do for you is submit a product idea on your behalf to our product manager for sorting (asc/desc) to be offered for the groupby column. I have submitted this with the product idea # 13050096
Thank you for pointing that out. I just wanted to clarify. That post says "By default the sort direction is ascending and cannot be changed." Is that still the case? (there was a reference to "known limitation and will be fixed in 12.2")
It seems like that sorting would be a useful feature. The custom GroupBy property looks to be helpful for grouping values in a functional way, but it doesn't change the order, right?
Hi visitraxnet,
Thank you for posting on our forums!
Please have a look at the following forum post for more information on this. This thread also provides a link to one of our samples that you may find helpful. http://ko.infragistics.com/community/forums/t/72349.aspx
Please let us know if you need further assistance with this and we will be glad to help.
Maybe try to add the grouped column in descending order? Its default is probably ascending.
D.