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
3914
Different Sumarries DisplayFormat for GroupByRow Vs Footer
posted

Hi,

Can we have a different Summaries DisplayFormat for GroupByRow Vs Footer.

For example, I want to see "Sum = 24" in the Footer, and  just "24" in the GroupByRow

Thanks

Sangeetha

  • 71886
    Offline posted

    Hello Sangeetha,

    Could you please take a look if the following code sample suits your needs:

    private void ultraGrid1_InitializeGroupByRow(object sender, Infragistics.Win.UltraWinGrid.InitializeGroupByRowEventArgs e)
    {
       e.Row.Band.Summaries[0].DisplayFormat = "{0}";
       e.Row.Band.SummaryFooterCaption = "Sum = ";
    }

    If this is not what you are after, please provide a screenshot of your requirements.