showWorkHours in scheduler

2 posts, 1 answers
  1. Philippe
    Philippe avatar
    14 posts
    Member since:
    May 2015

    Posted 19 Nov 2015 Link to this post



    There are any methods in your API to get the status of "Business hours/Full day" button?

    Thank you

  2. Answer
    Magdalena avatar
    463 posts

    Posted 20 Nov 2015 Link to this post

    Hello Philippe,

    I am afraid that there is no implemented API for checking this value. You can get it for example by looking for "full" substring in the "Show business hours" button by the following:
    var isShownFullDay = $(".k-scheduler-fullday .k-link").text().indexOf("full") < 0;

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top