DayPilot.Scheduler.eventVersionMargin

The eventVersionMargin property (number) specifies the distance between the event version box and the main event box, in pixels.

Declaration

DayPilot.Scheduler.eventVersionMargin

Default Value

2

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  eventVersionMargin: 5,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  eventVersionMargin: 5,
  // ...
};

React

<DayPilotScheduler
  eventVersionMargin={5}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :eventVersionMargin="5"
  <!-- ... -->
/>

See Also

Event Versions [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript