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
720
Xamgrid number format settings
posted

Hi

I have a xamgrid to which I want to apply the various number format settings available for the xamdatagrid. For eg. I want to display my double value by rounding it to 3 decimal places. How can this be done?

Thanks,

Chev

Parents
  • 35319
    Suggested Answer
    posted

    Hello Chev,

     

    I have been looking into your question and you could set the ‘FormatString’ property of the desired column to the desired format like e.g.:

     

    <ig:TextColumn FormatString="{}{0:.###}"  Key="BasePrice"/>

     

    Let me know, if you need any further assistance on this matter.

Reply Children