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

Custom time ranges

1 Answer 163 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 20 Oct 2014, 10:17 PM
I haven't yet found an answer for this and I'm hoping this is somehow doable.  I have a requirement for an app that can schedule commercials during a radio broadcast.  I'd like to be able to list program segments along with commercial breaks in one Scheduler.  Data is only entered for the commercial breaks (the advertiser and how long the commercial is).  The issue is that program segments vary in length, and don't typically end on quarter- or half-hours, but at times like 7:09 or 11:23.  Commercial breaks also vary in length.  I'd like to be able to use the Scheduler to display a program segment in the same amount of space, no matter how long it actually is, as I don't want the user to scroll endlessly to find the next commercial to enter data against.  I would perhaps put the start and end times right in the content of the objects, or list the times in the left where they're currently displayed now.  The commercial breaks would display in 15-second segments.  So the net effect is that the time intervals listed on the left would be non-linear.  Is this possible?  Can I somehow extend the Scheduler widget to perhaps provide this functionality?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 22 Oct 2014, 11:15 AM
Hi Michael, 

One possible approach is to set the majorTick option to large enough value e.g. 24 hours so all events are displayed in the same slot. Here is a quick demo which shows this approach : http://dojo.telerik.com/@korchev/ADUtU

The other option is to rely on the built-in agenda view: http://dojo.telerik.com/@korchev/IkUsI

Regards,
Atanas Korchev
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
Michael
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or