Hi,
I’ve got this config as part of my datagrid:
<xcdg:DataGridControl.DefaultGroupConfiguration>
<xcdg:GroupConfiguration>
<xcdg:GroupConfiguration.Footers>
<DataTemplate>
<xcdg:StatRow Background="AntiqueWhite">
<xcdg:StatCell FieldName="TotalPnL"
ResultPropertyName="TotalPnLSum"
ContentStringFormat="{}{0:$#,##0.00}"
FontWeight="Bold"/>
<xcdg:StatCell FieldName="Margin"
ResultPropertyName="MarginSum"
ContentStringFormat="{}{0:$#,##0.00}"
FontWeight="Bold"/>
<xcdg:StatCell FieldName="NetPosition"
ResultPropertyName="NetPositionSum"
ContentStringFormat="{}{0:$#,##0.00}"
FontWeight="Bold"/>
</xcdg:StatRow>
</DataTemplate>
</xcdg:GroupConfiguration.Footers>
</xcdg:GroupConfiguration>
</xcdg:DataGridControl.DefaultGroupConfiguration>
Whether I try simpler things such as ContentStringFormat="{}{0:C2}"
or the one above, my content string format is simply being ignored.
The CellContentStringFormat
in my columns works well: CellContentStringFormat="{}{0:#,0.00}"
Is there something else I need to do?