This is a migrated thread and some comments may be shown as answers.

Start- and Endtime Calender starting with Sunday

2 Answers 45 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Hans
Top achievements
Rank 1
Hans asked on 04 Nov 2014, 10:33 AM
Hi!

According to this demo
http://demos.telerik.com/kendo-ui/gantt/index
the calendar for the start time and end time starts the week with sunday.
How can I change these calendars to start with Monday?

Best regards,
Hans

2 Answers, 1 is accepted

Sort by
0
Hans
Top achievements
Rank 1
answered on 04 Nov 2014, 02:17 PM
...can you please move it to the Kendo UI section?
0
Bozhidar
Telerik team
answered on 05 Nov 2014, 08:33 AM
Hi,

Add the following before the declaration of the Gantt:
var culture = kendo.culture();
culture.calendar.firstDay = 1;

Here's a example in our dojo:
http://dojo.telerik.com/UsaVI/2

Regards,
Bozhidar
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Gantt
Asked by
Hans
Top achievements
Rank 1
Answers by
Hans
Top achievements
Rank 1
Bozhidar
Telerik team
Share this question
or