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

Angular 7+ - Scheduler - Problem with Globalization

Hello,

I have a problem with the globalization on scheduler (in French). 

I followed the documentation here : https://ej2.syncfusion.com/angular/documentation/schedule/localization/ but I can't get it to work.
I have attached the configuration of the globalization and the browser result. Also, I have no errors on the browser console.

Do you have any solution to this problem?

Also, is it possible to have the rowautoheight functionality without removing the auto-resize height of the scheduler ? (check screen "rowautoheight")

Thank you in advance for your feedback,
Damian Riquart
Quality CDM

Attachment: angular_scheduler_img_14fec671.zip

3 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team September 23, 2019 09:06 AM UTC

Hi RIQUART 
 
Syncfusion greetings. 
 
In your image, fr is used instead of fr-FR which could be the cause. We have checked the below Angular 8 sample in fr-FR culture and Schedule is rendering correctly. Kindly try the sample and if the issue persists, try to reproduce the error in a sample and revert else share your code example/runnable sample (if possible) to serve you better. 
 
It is the default behavior for auto row height feature. We have consider your requirement as feature and logged the below portal task. It will be implemented in any one of our upcoming main release. 
 
Regards, 
Karthi 
 



DR Damian Riquart September 23, 2019 01:57 PM UTC

Thank you for your answer.

I tried to adapt my code with the example provided. This time I have the following error:

vendor.js:81347 ERROR TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at Calendar.getCultureValues (vendor.js:344491)
    at Calendar.createContentHeader (vendor.js:344523)
    at Calendar.createContent (vendor.js:344475)
    at Calendar.createContent (vendor.js:346209)
    at Calendar.render (vendor.js:344371)
    at Calendar.render (vendor.js:346114)
    at Calendar.appendTo (vendor.js:340278)
    at HeaderRenderer.renderHeaderPopup (vendor.js:316847)
    at HeaderRenderer.toolbarClickHandler (vendor.js:316869)

I have attached the code of the component. 

Thank you in advance for your feedback,
Damian Riquart
Quality CDM

Attachment: component_example_543696b7.zip


KK Karthigeyan Krishnamurthi Syncfusion Team September 24, 2019 10:48 AM UTC

 
Thanks for the update. 
 
We suspect that file location is not correct which could be the cause. Kindly try like below at your end and for the same, sample is prepared. 
 
loadCldr(
require('cldr-data/supplemental/numberingSystems.json'),
require('cldr-data/main/fr-CH/ca-gregorian.json'),
require('cldr-data/main/fr-CH/numbers.json'),
require('cldr-data/main/fr-CH/timeZoneNames.json'));
 
 
Regards, 
Karthi 
 


Loader.
Live Chat Icon For mobile
Up arrow icon