Hi,
Quick question, it's possible add the OutlookGroupBy Label using to group, on both top and bottom of witch group, just inline or above the Sum box, like on this picture:
My code:
' Agrupar por grupos
UltraGrid1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy
UltraGrid1.DisplayLayout.GroupByBox.Hidden = True
UltraGrid1.DisplayLayout.Bands(0).SortedColumns.Add("Tarifario", False, True)
UltraGrid1.DisplayLayout.Bands(0).Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.Bottom _
Or Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.GroupByRowsFooter
Regards!
Hugo
Eish, i was thinking that gonna be just a simple line of code or someting. =P
No Mike, never used a CreationFilter before. Can you give me a help?
How about the label that says "Summaries.." or "Totals"..Dont remember well, I erased it. Can i changed it for the groups?
Hi Hugo,
The grid doesn't have any built-in functionality to do this. But since you have a summary row there on the bottom of the rows collection, you could achieve what you want in a couple of different ways.
One way would be to create a Custom summary and just return the text you want. But this would limit your to displaying the summary aligned with a column (which probably won't be wide enough) or aligned left (which means it would be no a different line than your other summaries).
So a better solution in your case would be to use a CreationFilter. Have you used CreationFilters before?