Custom time ranges

2 posts, 0 answers
  1. Michael
    Michael avatar
    1 posts
    Member since:
    Jul 2014

    Posted 20 Oct 2014 Link to this post

    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?
  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 22 Oct 2014 Link to this post

    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 :

    The other option is to rely on the built-in agenda view:

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