Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Sorting on a grid that has grouped column(Unexpected behavior when sorting on a grid that has a grouped column)
Sorting on a grid that has grouped column [message #1449591] Tue, 21 October 2014 15:21 Go to next message
Natalie Kato is currently offline Natalie KatoFriend
Messages: 1
Registered: October 2014
Junior Member
Hello,

This is a question about sorting on a grid that is grouped by a column. When we group by a column, and then sort in ascending order by another column in the grid, the groupedby rows are in ascending order and the contents in the groups are in ascending order. If we want to sort one of the columns in descending order, then the groupedby rows will be sorted in descending order.

Is it expected behavior? Or would we want the grouped by rows to remain in ascending order and the contents in in the groups to be in descending order?

Thank you,
Natalie

------
How to reproduce:
(Using the 1.1.1 examples)
1. Run the GroupBySummaryExample.
2. Group by the Firstname.
3. Sort Age in ascending order
4. Sort Age in descending order

So in this example, when sorting Age in ascending order, the grouped by rows are Bart, Carl, Edna, ... and the ages are sorted from low to high (34, 43, 43, 46, ...). If we sorted Age in descending order, would we want the grouped by rows to be Bart, Carl, Edna, ..., where the ages are sorted from high to low (91, 88, 68, 62, ...)?


Re: Sorting on a grid that has grouped column [message #1449612 is a reply to message #1449591] Tue, 21 October 2014 16:02 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2809
Registered: July 2012
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=444855
Previous Topic:Setting error message on display converter failure.
Next Topic:Can we public SizeConfig from DataLayer
Goto Forum:
  


Current Time: Mon Apr 12 17:18:53 GMT 2021

Powered by FUDForum. Page generated in 0.02416 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top