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
655
SummaryResult always rounds upto two decimal places
posted

Hi All,

 

Can any one help me in changing the SummaryResult to round upto 4 places? The values  in the column are also upto four decimal places but still the Summary Result rounds upto 2 decimal places.

 

Thanks

Prakash

  • 69686
    posted

    Hello Prakash,

    Have you tried the FormatString property of the SummaryDefinition. There is a sample showing this in the xamFeatureBrowser - XamDataGrid - Row Summaries - Formatting Row Summaries, for example something like this:

    <igDP:SummaryDefinition

                  StringFormat="{}{1} = {0:$#,##0.0000}"

                  Key="PositiveSum"

                  SourceFieldName="PositiveSum"

                  Calculator="Average"/>