We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Custom of Datagrid Cell text string format

I am using sfDatagrid. My code blog as follows. I set this format (#,##0.00). But for example, for a double result (ex:1234567.89) the android shows 1.234.567,89, the ios shows 1,234,567.89 result.
So the comma and dot are replacing. How can  i solve this problem

  <xforms:GridTextColumn HeaderText="Güncel Bakiye" 
                                                           HeaderTextAlignment="End" HeaderFontAttribute="Bold"
                                                           MappingName="GuncelBakiye" Format="#,##0.00" TextAlignment="End" />

1 Reply

KK Karthikraja Kalaimani Syncfusion Team September 30, 2019 10:40 AM UTC

Hi Mahmut,

Thanks for contacting Syncfusion support,

Your requirement can achieve by using the Format property in “GridNumericColumn” in SfDataGrid. We have prepared the sample for the same. Please follow the below the code snippet and sample link.

<sfgrid:SfDataGrid x:Name="dataGrid" 
                               ItemsSource="{Binding OrdersInfo}"> 
                                HeaderText="Product No" 

We hope this helps. Please let us know, if you need any further assistance.

Karthik Raja

Live Chat Icon For mobile
Up arrow icon