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
1105
ICustomSummaryCalculator
posted

I've scrapped some initial work I did using Fomulas in summaries and instead I'm trying to implement a customer summary using my own class that implements ICustomSummaryCalculator.

So far this is proving to be much easier and is producing the results I'm looking for.  I do have one question however.

My data set will be grouped-by a particular column.  The summary for the groups is giving me the result I want.  But on the grand total line, I'd like to output a slightly different value.

It seems what I'm looking for is the ability to know in my summary class that implements ICustomSummaryCalculator if the summary it's currently calculating is for the grand total line.  If I could do that I'd have the ability to say: if (isGrandTotal) return A, else return B.

Thanks!

Chris Rowland

Parents Reply Children