Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calendar object, ajax, first day of week

We use calendar objects for the time selection and now we have noticed difference in functionality between plugin/developer and ajax/webview.

We want to use calendar (objects) in European way where Monday is the first day of the week.

Plugin gives Monday as the first day of the week, but ajax does not.

Please see the pictures.

I have checked the settings on server, but these already say that the Monday is the first day of the week. So it seems that server localization settings do not help here.

Any suggestions from the community to how to change ajax calendar to have Monday as the first day of the week?

Plugin calendar object:

plugin.PNG.png

Ajax calendar object:

ajax.PNG.png

1 Solution

Accepted Solutions
Not applicable
Author

Thank you for your quick answers. Tried to update to 11.2 sr4, but it didn't work out.

However 11.2 sr5 (which I noticed was just released) seems to do the trick at desktop.

Will try the servers later.

View solution in original post

6 Replies
giakoum
Partner - Master II
Partner - Master II

Hi Ville.

you can create a custom calendar object. See discussion below:

http://community.qlik.com/thread/12623

Clever_Anjos
Employee
Employee

You´re using an outdated version.

QV 11.20.SR4 provides a new web view calendar

Not applicable
Author

Thank you for your quick answers. Tried to update to 11.2 sr4, but it didn't work out.

However 11.2 sr5 (which I noticed was just released) seems to do the trick at desktop.

Will try the servers later.

Not applicable
Author

hi,

you can set the first day via the script.
If you want to start with Sunday, include this line in your script:

SET FirstCalendarDay='0'
In case you want to start with Monday

SET FirstCalendarDay='1'

and so on.


Hope this helps.

Not applicable
Author

Thanks for this. This is not an issue for me anymore, but will try to remember this in the future.

Not applicable
Author

In browser, put the mouse over the weekday you want to be  the first day of your week and click.2017-01-19 10_57_23-QlikView.jpg