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
1925
Summary row format - numerical columns with decimal places
posted

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.

Parents
No Data
Reply
  • 28407
    Verified Answer
    posted

    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

     

     

Children