search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Modify end datetime in beforeEventRender

Asked by tom
3 years ago.

I would like to add 5 minutes to the end time of every event when displaying on the scheduler to allow for 5 minutes between events. Is there a way to change the end date in the beforeEventRender? I am doing so, but the event is being displayed with the original end time.

Answer posted by Dan Letecky [DayPilot]
3 years ago.

Unfortunately, it's not possible to change event start/end in onBeforeEventRender. You'd have to modify the data source before assigning it to

It might be more convenient to do it on the server side.

You can use onBeforeEventRender to highlight these segments using custom active areas (see also

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.