Hi Alex,
Thanks for contacting Syncfusion support.
If you need comma to be a separator for the fractional parts, use locale API of ejGrid. In locale API set “de-DE” to get the comma as a separator for the numbers.
Find the code example:
<ej-grid [allowPaging]="true" [allowSorting]="true" [dataSource]="gridData" [columns]="columns" [editSettings]="{'allowEditing':'true', 'editMode':'batch'}" [toolbarSettings]= "tool" locale= "de-DE">
<e-columns>
<e-column field="OrderID" headerText="Order ID" [isPrimaryKey]="true" width="75" textAlign="right" ></e-column>
<e-column field="Freight" headerText="Freight" width="75" textAlign="right" format="{0:C}"></e-column>
------------------------------
</ej-grid>
-----------------------------------------------
<script src="vendor/ej.angular2.js"></script>
<script src="vendor/ej.culture.de-DE.min.js"></script>
|
Note: To get the particular culture we need to refer the “ej.culture.de-DE.min.js” script file in the sample.
Script Location: C:\Program Files (x86)\Syncfusion\Essential Studio\15.1.0.37\JavaScript\assets\scripts\i18n
Regards,
Prasanna Kumar N.S.V