Hi
I have a grid with numerous numerical columns and they provide summary (Sum, Average) funcationlity. Some of the columns are configured to show 2 decimal places, some show 4 and some show up to 6 decimal places. My question is; I have to show summary (computed value for Sum, Average) in same number of decimal places as their columns are shown. How is it possible.
HI,
You can use the SummaryDefinition's StringFornmat Property.
Here a code snippet:
<igDP:SummaryDefinition SourceFieldName="Salary"
Calculator="Sum"
StringFormat="{} sum={0:0.000000}" />
Sincerely,
Matt Developer Support Engineer
Thanks Matt for quick response. appreciate this is step in right direction. I have about 80 fields/columns and some of them have 2 decimal places, some 4 and some have 6 decimal places. I wanted the summary functions to take field's editory syle/formatting. Is that possible?
SummaryDefinitions are not framework elements, so you cannot create a style that target them.
Please let me know if you need further assistance regarding this issue.
Matt
Developer Support Engineer