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
500
Group with sub-totals but dont hide columns
posted

Hi all,

I need help getting what my customer wish.

I currently have this grid:

 

But the customer want this:

 

Witch means I cant group and hide the columns.

Here's my code:

 

UltraGrid1.DisplayLayout.Bands(0).Summaries.Add("Qtd.", Infragistics.Win.UltraWinGrid.SummaryType.Sum, UltraGrid1.DisplayLayout.Bands(0).Columns("Qtd."))

UltraGrid1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy

UltraGrid1.DisplayLayout.GroupByBox.Hidden = True

UltraGrid1.DisplayLayout.Bands(0).SortedColumns.Add("Serviço", False, True)

UltraGrid1.DisplayLayout.Bands(0).SortedColumns.Add("Familia", False, True)

UltraGrid1.DisplayLayout.Bands(0).Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.Bottom Or Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.GroupByRowsFooter

 

Thank you so much!
Hugo