DayPilot.Scheduler.eventMovingStartEndFormat

The eventMovingStartEndFormat property (string) specifies the date/time format used by the target position indicators shown by the JavaScript Scheduler component during event moving.

Declaration

DayPilot.Scheduler.eventMovingStartEndFormat

Default Value

"MMMM d, yyyy"

Notes

The indicators are enabled using DayPilot.Scheduler.eventMovingStartEndEnabled.

The format string uses the patterns documented by DayPilot.Date.toString().

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  eventMovingStartEndFormat: "h:mm tt",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  eventMovingStartEndFormat: "h:mm tt",
  // ...
};

React

<DayPilotScheduler
  eventMovingStartEndFormat="h:mm tt"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  eventMovingStartEndFormat="h:mm tt"
  <!-- ... -->
/>

See Also

Event Moving Indicators [doc.daypilot.org]

DayPilot.Scheduler.eventMovingStartEndEnabled

DayPilot.Date.toString()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript