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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Create Timeline view with custom timerange

Thread ID:

Created:

Updated:

Platform:

Replies:

148813 Nov 5,2019 02:30 PM UTC Nov 6,2019 01:21 PM UTC JavaScript - EJ 2 1
loading
Tags: Schedule
Pieter-Jan Batsleer
Asked On November 5, 2019 04:45 PM UTC

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!

Vengatesh Maniraj [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon