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
125
Change Summary Appearance based on values within the Summary
posted

Hi

I'll explain my question with an example.

I have a simple summary with SummaryType.Sum. Let's say I have 2 rows, with values -2, +2. The sum is 0.

When ANY individual value in the sum is NOT zero, I want the Appearance of the summary to change (ie: Backcolor=Yellow).

I can't use the sum to figure out when to change the Appearance. (In this example, the sum is 0, even though there are individual values that are non-zero.)

I have tried to use SummaryValueChanged, but can't figure out how to access the individual values that make up the sum.
I have tried to use a CustomSummaryCalculator (since I can access the individual values), but I can't figure out the right property to change the Appearance. I tried the summarySettings.Appearance, but nothing changed.

Any ideas?
Thanks!