DayPilot.Calendar.eventsLoadMethod

The eventsLoadMethod property (string) specifies the HTTP request method used by events.load().

Declaration

DayPilot.Calendar.eventsLoadMethod

Possible Values

  • "GET" - sends the event-loading request using HTTP GET.

  • "POST" - sends the event-loading request using HTTP POST.

Default Value

"GET"

Notes

This setting affects requests issued by events.load(). If you provide the event data directly instead of loading it remotely, this property is not used.

Examples

JavaScript

const calendar = new DayPilot.Calendar("dp", {
  eventsLoadMethod: "POST",
  // ...
});
calendar.init();

Angular

<daypilot-calendar [config]="config"></daypilot-calendar>
config: DayPilot.CalendarConfig = {
  eventsLoadMethod: "POST",
  // ...
};

React

<DayPilotCalendar
  eventsLoadMethod="POST"
  {/* ... */}
/>

Vue

<DayPilotCalendar
  eventsLoadMethod="POST"
  <!-- ... -->
/>

See Also

DayPilot.Calendar.events.load()

Event Loading [doc.daypilot.org]

Events [doc.daypilot.org]

DayPilot.Calendar Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript