Gantt and weekdays

2 posts, 0 answers
  1. Sebastien
    Sebastien avatar
    2 posts
    Member since:
    May 2016

    Posted 14 Jul 2016 Link to this post


    I’m using the kendo Gantt as an angular directive and I need to define a range of week days to be displayed on my Gantt. Example: I want to display always from Wednesday to Saturday of the week, for example.

    I know that If I set the properties   showWorkDays: true,  It will be displaying days by default  Monday to Friday (excluding Saturday and Sunday as weekends).


    But the problem is, I just want to display an specific range of weekdays,
    Starting by, for example, Wednesday and ending on  Saturday ( not Monday to Friday). I saw that in JSP, it’s possible to use workDayStart and workWeekEnd properties to define this range, based on weekday index.

    And I saw also here in the forum, that is possible to set that start day of the week, doing this : kendo.culture().calendar.firstDay = 3   before the Gantt loads (which is working fine for me), but I couldn’t find nothing to set the lastDay of the week.

    The question is: how do I set the lastDay? I tried different things and nothing worked. I need to define something similar to the workDayStart and workWeekEnd to the gantt angular directive.

    Thank you

  2. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    1241 posts

    Posted 18 Jul 2016 Link to this post

    Hello Sebastien,

    Thank you for contacting us.

    I would suggest you to use the workWeekStart and the workWeekEnd Gantt configuration properties.

    I hope that the above helps you. If you have any further questions, please do not hesitate to contact us.

    Veselin Tsvetanov
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top