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

    Hello, 

     

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

    Thank you

  2. Answer
    Magdalena
    Admin
    Magdalena avatar
    421 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;


    Regards,
    Magdalena
    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