Setting Week to start on different days

2 posts, 0 answers
  1. Chris
    Chris avatar
    21 posts
    Member since:
    Jul 2004

    Posted 26 Jun 2015 Link to this post

    Hi

    Is it possible to set the week start day to a different day (e.g. it seems to be set as Sunday, we are looking to also have Monday as start - depending on configuration)

    We did try to use working week - Monday to Sunday but seems we cant set the end day as Sunday) - eg with code like

                          showWorkDays: true,  workWeekStart:1,  workWeekEnd:0, 

    http://dojo.telerik.com/OHAsO

    Thanks

    Chris

  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 29 Jun 2015 Link to this post

    Hello,

    In order to set the first day of the week, you have to use the following code before the gantt is initialized:
    kendo.culture().calendar.firstDay = 1;

    Here's the updated dojo sample:
    http://dojo.telerik.com/OHAsO/2

    Regards,
    Bozhidar
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top