Question

Here in this column I want to show $1234.56 as $1,234.56.

How do I modify $0.00 to do this?

<dx:GridViewDataTextColumn FieldName="30DayCost" 
                           Caption="30DayCost" 
                           VisibleIndex="9" Width="100px">
    <HeaderStyle Font-Bold="true" HorizontalAlign="Center" />
    <CellStyle HorizontalAlign="Right"></CellStyle>
    <PropertiesTextEdit DisplayFormatString="$0.00"></PropertiesTextEdit>
</dx:GridViewDataTextColumn>
Was it helpful?

Solution

Change the DisplayFormatString format from $0.00 to $#,##0.00.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top