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
335
Showing Group Summary Totals when Group is collapsed
posted

I have enabled column grouping, and my grid has summaries.

And when I group my data, the summaries do appear at the end of each group. as well as at the end of the grid for grand totals.

However, when I collapse the groups, I do not see the summaries by group any more.

Is there a way to show the summaries at the group level when the group is collapsed?

https://stackblitz.com/edit/hiaevy-vkkusk?file=src%2Fapp%2Fgrid%2Fgrid-groupby-sample%2Fgrid-groupby-sample.component.html

Thanks,

Walter

Parents
No Data
Reply
  • 140
    Verified Answer
    Offline posted

    Hello Walter,


    After looking into the issue you raised regarding the visibility of summary rows when group rows are collapsed, I would like to recommend utilizing the showSummaryOnCollapse property of the IgxGrid. This property controls whether the summary row remains visible when the group row is collapsed.

    By default, the summary row is hidden when the group is collapsed. However, setting the showSummaryOnCollapse property to true ensures that the summary stays visible, providing better insight into the grouped data without needing to expand the group.

    Here’s a simple example of how this property can be applied:

    <igx-grid [data]="data"  [showSummaryOnCollapse]="true">
        <!-- Define your grid columns and other configurations here -->
    </igx-grid>

    Best Regards,
    Arkan Ahmedov
    Infragistics

Children
No Data