Kendo UI Scheduler (timeline view) and event across midnight

12 posts, 0 answers
  1. Purchases
    Purchases avatar
    6 posts
    Member since:
    Oct 2006

    Posted 30 Mar Link to this post

    Is there a way to setup Kendo UI Scheduler in timeline view to show a time span across midnight?
    If startTime and endTime are in the same day all works fine, if I set two different days it show nothing.

    I created two dojo examples. They are different only for startDate and endDate

    (working, single day) http://dojo.telerik.com/@purchased.software@deltatre.com/Otale/2

    (not working, across days) http://dojo.telerik.com/@purchased.software@deltatre.com/OTUmA

    Thanks!

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 31 Mar Link to this post

    Hi Davide,

    The desired behavior is not supported out of the box and custom solution would be required. The easiest way to show such events is to modify the view date range to always show two days (in this case this would be 13 and 14 June 2013). For example of creating custom views with custom date ranges you can check the following demo in our documentation:

    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. Kendo UI is VS 2017 Ready
  4. Purchases
    Purchases avatar
    6 posts
    Member since:
    Oct 2006

    Posted 19 May in reply to Vladimir Iliev Link to this post

    Thanks for the suggested demo.

    We tried to manage a working solutions but without success.

    The simple process to have more days is quite trivial with your directions but we need to start/end our schedule with custom time (ie: 4PM to 4AM) and not the full two days.

    I'm hacking with calculateDateRange and related functions without any success.

    I would need a direction to the function that "check if an event is inside startDate and endDate" and show it accordingly.

    May you help us?

     

    Thanks!

     

     

  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 23 May Link to this post

    Hi Davide,

    As I mention in my previous reply the build-in views does not support the desired ranges - that why you should show full two days and filter the events to be only in the range that you need. To filter events in given range you can use server filtering (demo here). 

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Purchases
    Purchases avatar
    6 posts
    Member since:
    Oct 2006

    Posted 23 May in reply to Vladimir Iliev Link to this post

    ThanksVladimir for the answer,

    the problem is that we currently can:

    - setup timeline for two days, from 4pm to 4am (for example)

    - setup server filtering on same interval

     

    the problem is that when acrsoss midnight the scheduler is empty.

     

    any other advice?

  7. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 24 May Link to this post

    Hi Davide,

    From the provided information it's not clear for us what is the reason for current behavior - could you please provide runable example where the issue is reproduced? This would help me advice you better how to proceed. 

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  8. Purchases
    Purchases avatar
    6 posts
    Member since:
    Oct 2006

    Posted 24 May in reply to Vladimir Iliev Link to this post

    This is a two days example with custom view like you addressed

    http://dojo.telerik.com/@purchased.software@deltatre.com/ihIzI

    With this parameters it works fine

    • date: new Date("2016/4/18")
    • startTime: new Date("2016/4/18")
    • endTime: new Date("2016/4/19")

    Also with these parameters

    • date: new Date("2016/4/18")
    • startTime: new Date("2016/4/18 8:00:00 AM")
    • endTime: new Date("2016/4/19 8:00:00 PM")

    BUT with start hours (8PM) greather than end hours (8AM) it won't work

    • date: new Date("2016/4/18")
    • startTime: new Date("2016/4/18 8:00:00 PM")
    • endTime: new Date("2016/4/19 8:00:00 AM")

    Thanks for your kind support

  9. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 24 May Link to this post

    Hi Davide,

    I already mention several times that the Scheduler does not support out of the box showing ranges across midnight. In order to show the desired behavior you should show full two days and if needed restrict the users from editing the parts of the day that you don't need. Also for convenience you can make the Scheduler scroll automatically to the start time that you need. 

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  10. Purchases
    Purchases avatar
    6 posts
    Member since:
    Oct 2006

    Posted 30 May in reply to Purchases Link to this post

    Hi Vladimir, any possibile solution to this problem?

    We are blocked by this issue and we can't go ahead 

     

    Thanks

  11. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 01 Jun Link to this post

    Hello Davide,

    In current case as the desired behavior require custom solution I could only suggest to check our professional services.

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  12. Purchases
    Purchases avatar
    6 posts
    Member since:
    Oct 2006

    Posted 06 Jun in reply to Vladimir Iliev Link to this post

    Hello Vladimir,

    Can you explain why you think that what we are requesting is a custom solution? we just need to show events across the midnight and you told us that it is possibile in the previous thread. Can we check if we are on the same pitch since it is getting urgent and we are getting confusing from your different answers / solutions. 

    it seems that we are requesting a standard scheduler behavior as you mentioned. We are not able to make it work and we need to solve it as soon as possible since we need the scheduler for the next Olympic Games.

    If you are not able to solve this issue, can you please give us a fast track to solve it even paying ?

    Thank you very much.

  13. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 08 Jun Link to this post

    Hello Davide,

    By "custom solution" we imply a behavior or feature, which is not supported out-of-the-box and requires extensive widget customization (changes in the source code) in order to be achieved. Such customizations are outside the scope of our technical support service, but can be discussed with our Professional Services department. I have notified our colleagues about your interest and they will get in touch with you.

    Regards,
    Dimo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready