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
520
Formatting summary results
posted

Hi,

I am using xamdatagrid with Summary Results. I need my output in the following format,

Sum                    1,123.45
Average                1,12.45
Count                          20
Minimum                  -9.45

I gave my summary result format as,

field.SummaryStringFormats = "average: Avg {0:#########0.000}, count: Count {0},
minimum: Minimum {0:#########0.000},maximum: Maximum {0:#########0.000}"

If I give commas in between #s it is throwing run time error.

Could anybody help me to format the summary results as described above