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
OutlookGroupBy Label Top and Bottom
posted

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

Parents
  • 469350
    Offline posted

    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?

Reply Children