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
465
SummaryCells Sort by Clicking Column Header
posted

I have group by with summary cells switched on in my UltraGrid, and it's grouping and calculating the summary values fine.  When I click on the column header to sort by a column, it only sorts the actual rows within the group and not the group row as I expect like how it is with the nested tables.  Is there a way to include sorting on the group by levels too?

Here is an example, a grid with group by rows.

Col1|Col2|Col3 (column headers)

1000|3000|3000 (group by row)

     2000|2000 (row)

     1000|1000 (row)

2000|2000|3000 (group by row)

     1000|2000 (row)

     1000|1000 (row)

When I click on column header Col2, I expect the result to look like this, sort the group by levels, and then row levels

Col1|Col2|Col3 (column headers)

2000|2000|3000 (group by row)

     1000|2000 (row)

     1000|1000 (row)

1000|3000|3000 (group by row)

     1000|1000 (row)

     2000|2000 (row)

Thanks.