Sets the event box alignment mode (see Exact Event Duration).
DayPilot.Scheduler.useEventBoxes (string)
If event boxes are used, the event start and end is aligned with the cells (time slots). The real event length is then indicated by the duration bar.
If you want to control the alignment of the event with the grid during drag and drop please see DayPilot.Scheduler.snapToGrid.
"Always"
dps.useEventBoxes = "ShortEventsOnly";