Home › Forums › WPF controls › Xceed DataGrid for WPF › StatRow ContentStringFormat completely ignored
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
#44857 |
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?
Lol, forgot about this issue, got a new ticket about it and googled my way to my own unanswered question as result #1.
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.