I have 2 bands -[0] and [1]
on band[1] I have column HAPINT_SPREAD_AMOUNT
I want to do a summary on band 1 for this column and then for the same column
give the total summary ( for band 0)
The followin code just shows me the summary for band[1]
basicInfraGrid1.DisplayLayout.Bands[1].Summaries.Add(Infragistics.Win.UltraWinGrid.SummaryType.Sum, basicInfraGrid1.DisplayLayout.Bands[1].Columns["HAPINT_SPREAD_AMOUNT"]); basicInfraGrid1.DisplayLayout.Override.SummaryDisplayArea = SummaryDisplayAreas.GroupByRowsFooter | SummaryDisplayAreas.Bottom; basicInfraGrid1.DisplayLayout.Bands[0].Summaries.Add( Infragistics.Win.UltraWinGrid.SummaryType.Sum, basicInfraGrid1.DisplayLayout.Bands[1].Columns["HAPINT_SPREAD_AMOUNT"]);
Hello Drpoalim,
Maybe one possible approach is to use property Summaries for the both Bands. Could you please take a look at the attached sample for more details. Please let me know if you think that I misunderstood your scenario or if you have any questions.
Regards
This is my scenario.
I dont understand the proposed solution.
What do you mean "property Summaries for the both Bands"?
?Could you show me in code?