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

If you only work with full days, you can switch to eventEndSpec="Date" mode which will translate the end date to "end of day":

https://doc.daypilot.org/scheduler/event-end-date-time/

But that will not work for half-day cells used in this tutorial.

Comment posted by Anonymous
6 years ago.

So what could be the way around then? i tried changing the value from 720 to 1440 but that distorts the table

Comment posted by Dan Letecky [DayPilot]
6 years ago.

You can change the config like this (keep the rest of the properties unchanged):

var dp = new DayPilot.Scheduler("dp", {
  scale: "Day",
  cellWidth: 40,
  // ...
});

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