The eventSelectHandling property (string) specifies how onEventSelect should be handled when an event is selected.
Declaration
DayPilot.Scheduler.eventSelectHandlingPossible Values
"Update"- updates the selected state of the event on the client side."Disabled"- disables built-in event selection."CallBack"- fires onEventSelect using CallBack(ASP.NET WebForms, ASP.NET MVC, and Java versions only)."PostBack"- fires onEventSelect using PostBack(ASP.NET WebForms only)."JavaScript"- legacy value that fires onEventMove and is only applicable in DayPilot.Scheduler.api set to1.
Default Value
"Update"Notes
The built-in selection UI is available only when eventSelectHandling is not set to "Disabled".
The "JavaScript" value is a legacy compatibility mode for api=1.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventSelectHandling: "Disabled",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventSelectHandling: "Disabled",
// ...
};React
<DayPilotScheduler
eventSelectHandling="Disabled"
{/* ... */}
/>Vue
<DayPilotScheduler
eventSelectHandling="Disabled"
<!-- ... -->
/>See Also
DayPilot.Scheduler.onEventSelect
DayPilot.Scheduler.onEventMove
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot