We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Create Timeline view with custom timerange

Hi,

I'm using the ejs2 Schedule component with the TimelineDay view. Is it possible to add a custom timerange to the view over multiple days?
For example, I want to show all the hours between 5th of november 8AM tot 6th of november 2AM.

If tried adding the following property:
views: [
            {
                option: 'TimelineDay',
                interval: 2,
                startHour: '08:00',
                endHour: '02:00'
            }
        ]
but then it doesn't render. If I change the endHour to '26:00', then it renders, but the start hour for the second day is also 08:00 and my events don't render.

views: [
            {
                option: 'TimelineDay',
                interval: 1,
                startHour: '08:00',
                endHour: '26:00'
            }
        ]

This renders the timeline like I want it to, but my events are not rendered...

I need the timeline to have all the hours between my start (date)time and end (date)time.

Is this possible?

Thanks in advance!

1 Reply

VM Vengatesh Maniraj Syncfusion Team November 6, 2019 01:21 PM UTC

Hi Pieter,  

Syncfusion greetings. 

As per your requirement, currently there is no possibilities to achieve using scheduler. Our scheduler supports from zero hour to 24 hours. Invalid date inputs are not supported and events are not render properly. 

Kindly revert us, if you need any further assistance on this. 

Regards, 
  
Vengatesh 


Loader.
Live Chat Icon For mobile
Up arrow icon