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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

localization under Angular 2

Thread ID:





126259 Oct 4,2016 03:24 PM UTC Oct 7,2016 06:31 AM UTC JavaScript 3
Tags: ejGrid
Asked On October 4, 2016 03:24 PM UTC


we want Change the localization in Angular 2:


<script src="~/lib/js/ej/ej.culture.de-DE.min.js"></script>


<ej-grid #myGrid" [locale]="de-DE" [allowPaging]="true" ....

<e-column field="datum" headerText="Datum" width="40" format="{0:dd.MM.yyyy}"></e-column>

the cultur script is loading but the property "locale" is not working.



Ragavee U S [Syncfusion]
Replied On October 5, 2016 07:04 AM UTC

Hi Jürgen, 

Thanks for your interest in Syncfusion products. 

We have analyzed the reported query. The cause of the reported issue is that you have defined the locale property of the Grid within square braces which is incorrect way of defining. We need to define the Boolean/array type properties only within the square braces. 

So please modify your code as in the below code example. 

<ej-grid [allowPaging]="true" [allowSorting]="true" locale="de-DE" [dataSource]="gridData" > 

We have prepared a sample which can be downloaded from the below location. 

Ragavee U S. 

Replied On October 6, 2016 10:05 AM UTC

Hi Ragavee,

it works. Thank you for the answer.



Ragavee U S [Syncfusion]
Replied On October 7, 2016 06:31 AM UTC

Hi Jürgen, 
Thanks for your update. 
We are happy that your issue is resolved. 
Ragavee U S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon