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
220
How to display the overall sum when the Grid is grouped
posted

Hi,

I have an UltraGrid with several columns some of them have the sum function activated. This works pretty well but if i group the list the sums are only there for the groups and the overall sum disappears. Is there any way to keep the overall sum visible?

A kinda related issue also bothers me. Is there a default behavior for displaying how many rows are displayed or do i have to do this manually?

thanks in advance

Parents
  • 469350
    Verified Answer
    Offline posted

    Use the SummaryDisplayArea property on the band. It's a flags enum, so you can add in multiple settings. The one you need for grand totals is GroupByRowsFooter.


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                e.Layout.Override.SummaryDisplayArea = SummaryDisplayAreas.Bottom | SummaryDisplayAreas.GroupByRowsFooter;
            }

Reply Children
No Data