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

ejs-calendar having problem with Globalisation for latest version.

Hi,

I am working on Angular 8 Application. I having strange problem. 

Having below version of calendar and schedule.


=> Globalisation working fine with this version but not working with latest version of angular calendar. Getting below error.

ERROR TypeError: Cannot convert undefined or null to object
    at Function.keys ()
    at FormBase.getCultureValues (ej2-calendars.es2015.js:259)
    at FormBase.createContentHeader (ej2-calendars.es2015.js:291)
    at FormBase.createContent (ej2-calendars.es2015.js:243)
    at FormBase.createContent (ej2-calendars.es2015.js:1973)
    at FormBase.render (ej2-calendars.es2015.js:139)
    at FormBase.render (ej2-calendars.es2015.js:1882)
    at FormBase.disabledDates (ej2-calendars.es2015.js:4084)
    at FormBase.updateInput (ej2-calendars.es2015.js:2932)
    at FormBase.onPropertyChanged (ej2-calendars.es2015.js:11915)


I have encounter the problem also. Problem is path for getting language data having problem.
with version 17.2.49 it's working fine.

Now If I upgrade the schedule with 17.3.28 . As i want to use popupClose which is supported with the ejs-schedule version 17.3.28.


Please try to find some solution to this problem. I have attached the component files with attachment. 

Regards,
Parth

Attachment: calendar_5ef5a23a.zip

6 Replies

VM Vengatesh Maniraj Syncfusion Team January 21, 2020 07:22 AM UTC

Hi Parthkumar, 

Greetings from Syncfusion Support. 

We have prepared a Scheduler sample in Angular cli-8 version with “de” as locale property which is working properly at our end and the sample can be downloaded from the following link, 

 
And for further reference kindly refer the below UG link, 


Kindly try the above sample, if you have any concerns please revert us back for further assistance. 

Regards, 
Vengatesh 



PK Parthkumar Kakadiya January 21, 2020 09:08 AM UTC

Hi Vengatesh,

Thanks a lot for your solution.

The Globalization for ejs-schedule is working fine for any version.

My problem is if i use angular-schedule version higher than 17.2.49 than ejs-datetimepicker which is part of ej2-angular-calendar having problem with globalization.

here is my module version info.



with this combination schedule globalization working fine like: 




but datetimepicker globalization having problem     like: