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

ejGrid | Collumn Number Formatting | NumberDecimalSeparator and jjjj

Hi,

I am struggling to find a way to change NumberDecimalSeparator  = "," and NumberGroupSeparator ="." 
Is this possible for javascripts's ejGrid?


Thank you in advance,
Bruno Rodrigues

1 Reply

RU Ragavee U S Syncfusion Team September 10, 2015 05:12 AM UTC

Hi Bruno,

We analyzed your requirement to interchange the NumberDecimalSeparator and NumberGroupingSeparator. We suspect that your requirement is to apply localization to the Grid content.

We have created a sample with localization, which can be found in the following location.

Sample Link: http://jsplayground.syncfusion.com/0igcaw14

In the above sample, we have set the localization to Grid as “pt-BR” using the locale propertly of the grid. It is also essential to refer the jquery culture script file for applying localization to the Grid content.

The culture script file corresponding to the localization can be found in the below location.

Culture Script Location: C:\Program Files (x86)\Syncfusion\Essential Studio\XX.X.X.XX\JavaScript\assets\external\cultures

We need to define the localized string values externally for Grid Control. We have listed all the properties of Grid control to translate as localize string in the below document.

Document Link: http://www.syncfusion.com/downloads/support/directtrac/143224/ze/localization2077225494

Please refer to the following online links for more information on localization.

Online documentation Link: http://help.syncfusion.com/js/grid/localization

Online Sample Link: http://js.syncfusion.com/demos/web/#!/azure/grid/internationalization/localization

Regards
Ragavee U S

Loader.
Up arrow icon