DayPilot.Scheduler.eventMarginRight

The eventMarginRight property (number) sets the right margin of an event box (in pixels). This margin will make the event width calculated from start/end smaller (it behaves like a padding in box-sizing: border-box mode).

Default Value

Example

dp.eventMarginRight = 2;