jQuery UI Widgets › Forums › Scheduler › firstDay localization setting not considered on initial rendering
This topic contains 6 replies, has 5 voices, and was last updated by FraKR 5 years, 12 months ago.
-
Author
-
August 17, 2018 at 10:23 am firstDay localization setting not considered on initial rendering #101579
Hi
On the initial rendering of the week or month view, the setting of localization.firstDay is not respected – the column labels for the weekdays are wrong.
When I set firstDay to 1, the first column displays the date I expect, yet the column is labelled ‘Sunday’ instead of ‘Monday’. After I choose a different date or navigate to the next / previous week, the labeling is correct.
When I switch views, the first time the new view is rendered, the labels are wrong again.
How to reproduce: take the jqxScheduler ‘Default functionality’ example and set the localization ‘firstDay’ property to 1.
It seems to me that _refreshColumnTitles in jqxscheduler.api.js respects the firstDay setting, whereas _initializeColumns in jqxscheduler.js does not.
I am using jQWidgets 6.06
Thank you for looking into this.
Best regards
Stefan
August 20, 2018 at 2:18 pm firstDay localization setting not considered on initial rendering #101606Hello Stefan,
Thank you for this feedback it is a known issue.
Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comAugust 30, 2018 at 9:50 am firstDay localization setting not considered on initial rendering #101757Hello, this issue is really embarrassing, I have to push my new app for the 10th of September.
Is there à way to force the right day on first init ?
Like forcing a refresh or something like that ?
September 3, 2018 at 10:53 am firstDay localization setting not considered on initial rendering #101803Hello fabriceb,
I checked and I would like this issue is still valid.
I am not able to provide you with a solution for the current case, unfortunately.
Thank you for the understanding.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comOctober 17, 2018 at 1:07 pm firstDay localization setting not considered on initial rendering #102420Hi, is there any news about this issue?
If not, i’ve seen that if you use “prev” and “next” buttons the scheduler render days in the right way. Is there any way to do that in our code with a “render” event? Something like “go next week” and then “go prev week”. Should “fix” the problem while we wait…
October 17, 2018 at 1:15 pm firstDay localization setting not considered on initial rendering #102421The issue is fixed in the current version of the Scheduler. ex: https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxscheduler/scheduler-localization.htm?material. firstDay is 1, Rendering starts from Monday.
October 17, 2018 at 8:24 pm firstDay localization setting not considered on initial rendering #102425Oh, nice to know that. Thank you!
-
AuthorPosts
You must be logged in to reply to this topic.