Start- and Endtime Calender starting with Sunday

3 posts, 0 answers
  1. Hans
    Hans avatar
    11 posts
    Member since:
    Jul 2014

    Posted 04 Nov 2014 Link to this post

    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. Hans
    Hans avatar
    11 posts
    Member since:
    Jul 2014

    Posted 04 Nov 2014 Link to this post

    ...can you please move it to the Kendo UI section?
  3. Kendo UI is VS 2017 Ready
  4. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 05 Nov 2014 Link to this post

    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!
     
Back to Top