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
331
Use ValueConverter with Summary
posted

I am currently creating a summary definition programmatically as follows:

e.FieldLayout.SummaryDefinitions.Add(

 

new SummaryDefinition() { Calculator = new SumSummaryCalculator(), SourceFieldName = monthField.Name, StringFormat = "{0:C0}"

});

Is there a way to add a ValueConverter to the SummaryDefinition?  My clients don't want to see numbers in the summary if they are 0.  A custom value converter is handling this nicely for the fields (cells) themselves but need the same behavior in the summaries.

Parents
No Data
Reply Children
No Data