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
220
How to get a column to format to a currency display?
posted

In the old UltraWebGrid you made a column format to currency by doing something like this. 

 

grdResults.Columns[0].Format = "$###,###,##0.00";

 

How do you achieve this same effect with the new WebDataGrid?

 

Thanks!

Parents
No Data
Reply
  • 49378
    posted

    Hi whanes,

    Thank you for posting in the community.

    In this case you can use the DataFormatString property of WebDataGrid columns. For instance the format string you have provided above can be applied using:

     DataFormatString="{0: $###,###,##0.00}"

    Please let me know if this helps.

Children