This is a migrated thread and some comments may be shown as answers.

showWorkHours in scheduler

1 Answer 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Philippe
Top achievements
Rank 1
Philippe asked on 19 Nov 2015, 01:57 PM

Hello, 

 

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

Thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
Magdalena
Telerik team
answered on 20 Nov 2015, 08:12 AM
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!
 
Tags
Scheduler
Asked by
Philippe
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or