The eventsLoadMethod property (string) specifies the HTTP method used by events.load().
Declaration
DayPilot.Scheduler.eventsLoadMethodPossible Values
"GET"- loads event data using an HTTP GET request."POST"- loads event data using an HTTP POST request.
Default Value
"GET"Notes
Use this property to match the request method expected by the endpoint called by events.load().
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventsLoadMethod: "POST",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventsLoadMethod: "POST",
// ...
};React
<DayPilotScheduler
eventsLoadMethod="POST"
{/* ... */}
/>Vue
<DayPilotScheduler
eventsLoadMethod="POST"
<!-- ... -->
/>See Also
DayPilot.Scheduler.events.load()
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot