Hi, I am using QT4.6 and developing using QtCreator.
The data I have is arranged in a table having 7 columns (of which three columns have data which can only be one of a few values...like, say, Gender, or Nationality ).

I want to show this in a QtTableView (or, something that renders like a table) with sort capability. (I managed to reach upto this point using a QStandardItemModel and a QTableView).
However, I also want the following functionality :
for those three columns, I can "group" based on values ... for eg., this way, I get a summary of all rows whose gender is Male

QTreeview is not a good-looking option because it forces a hierarchy on the three columns, meaning, I will have to expand Gender, then Nationality in that fixed order. I cannot "regroup" in some sense.

In my mind, the finished view looks something like http://www.pengoworks.com/workshop/j...ablesorter.htm
(except when I uncollapse a row, I dont just get the shipping addresses, but a break-up of the total cost for each address, say).

Thanks in advance.