ParamQuery grid support forum

General Category => Suggest new features => Topic started by: akraines on November 24, 2019, 10:43:56 pm

Title: Merge single-groups
Post by: akraines on November 24, 2019, 10:43:56 pm
Hi,

The groupby feature works really well when I group by a column that has more than 1 distinct value. It shows  the grand total cells for each grouping, and they are meaningful.
However, when there is only one distinct value, I want it to NOT show an ADDITIONAL grand-total row, since it is a duplicate of the previous grouping level.
Is there a way to "merge" duplicate grand total rows so that it only shows the grid doesn't output duplicate rows?

Thanks
Title: Re: Merge single-groups
Post by: paramvir on November 25, 2019, 10:25:35 pm
It makes sense, however not available currently, so moving it to feature request board.
Title: Re: Merge single-groups
Post by: akraines on November 25, 2019, 11:11:21 pm
How long does it take / what is the process for a feature request to be come reality? (Assuming that it is planned)
Title: Re: Merge single-groups
Post by: paramvir on November 26, 2019, 11:41:39 am
This feature has been added, would be released in next upcoming version.
Title: Re: Merge single-groups
Post by: akraines on November 26, 2019, 07:29:45 pm
Thanks for the quick response. I was looking into implementing it using pq_hidden, but then I realised that summary rows are not included in datamodel.data.

Can you post the patch here so I can modify my version of the library? (since we have an "Ultimate" subscription)

Title: Re: Merge single-groups
Post by: akraines on December 19, 2019, 07:08:08 pm
Can you please post the diff for this feature so that I can update my copy of the code and don't have to wait for the next release? I sounded like it was a quick fix.
Title: Re: Merge single-groups
Post by: paramvir on December 29, 2019, 02:17:36 pm
v7 has been released