How to display events lasting more than 24 hours in day view?

4 posts, 0 answers
  1. Boris
    Boris avatar
    15 posts
    Member since:
    Aug 2015

    Posted 14 Jan 2016 Link to this post

    Hello,

    In scheduler's day view, when I create an event that starts for example at 10:00 AM and ends at 10:00 AM the next day, the event is created, but I can't see this event in the scheduler. You can try this behavior also in this scheduler demo: http://demos.telerik.com/kendo-ui/scheduler/restriction

    I know that I can set allDaySlot field to true and see the event at the top row of the scheduler, but I want to see the event inside the scheduler, between the other events.

    I have read that it's possible to achieve this by creating a custom view, but I haven't found any source code with a custom view that would solve my problem. Could anybody send me a code that would help me with this?

    Thanks for replies,

    Boris

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2177 posts

    Posted 17 Jan 2016 Link to this post

    Hello Boris,

    Currently we have no such example which we can provide where the day, week and work week views shows events longer than 24 hours as regular event. That why I would suggest to instead start using the "Timeline" views where this behavior is build-in. Please check the example below:

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Bernd
    Bernd avatar
    64 posts
    Member since:
    Feb 2013

    Posted 4 days and 22 hours ago Link to this post

    Dear Vladimir.

    In my use case the timeline view is not accepted as solution. My users want the (multi-)day view with long running events being shown as normal events spanning more than 24 hours.

    I had a look at the scheduler day view source and opened a suggestion in your portal. Unfortunately I got a call today, my customer told me he really needs to see those events as normal events. Especially the start and the end. To be able to schedule events seamlessly.

    In other words: I can't wait till this feature might  make it into the product.

    So what is the easiest way to achieve this?

    Kind regards

    Bernd

  4. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2177 posts

    Posted 3 days and 22 hours ago Link to this post

    Hello Bernd,

    To achieve the desired behavior you should extend the desired view and override the methods that are responsible for rendering the events. Currently we have no such example which we can provide - that why I could only suggest to check the following demo which shows how to extend the Scheduler views: 

    Also you can check our professional services for more options. 

    Regards,
    Vladimir Iliev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top