This is a migrated thread and some comments may be shown as answers.

Thousand separator not working

1 Answer 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stephen
Top achievements
Rank 1
Stephen asked on 03 Feb 2012, 02:18 PM
I need to display a comma in my thousands separator. The below should work but it puts a space as the separator?

<telerik:GridViewDataColumn DataMemberBinding="{Binding BulkPickup, StringFormat='{}{0:n}', Mode=TwoWay}" Width="80">

 

<telerik:GridViewDataColumn.Header><TextBlock Text="Bulk Bank Pick Up" TextWrapping="Wrap"/></telerik:GridViewDataColumn.Header>

 

</telerik:GridViewDataColumn>


1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Feb 2012, 02:22 PM
Hello,

 If standard format string are applicable for your scenario you can assign custom IValueConverter for the this Binding. Please check this article for more info about IValueConverter.

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Stephen
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or