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
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.
Hi Boris.
Thank You for your reply.
I don't want to set the SummaryFooterCaption.
My SummaryDisplayArea is set to the InGroupByRows & Bottom
What I want is to display DisplayFormat = "{0}" in GroupByRow (as you suggested above).
But I also want to display DisplayFormat = Format("[{0}]{1}", summaryType.ToString(), sourceCol.Header.Caption); at the Bottom (end of all rows in that group)
You could achieve desired look and feel if you are using our designer. Please take a look at the attached sample and video file for more details and let me know if you have any questions.
Regards
Here is the sample
This is the video file Part 1
Video part 2