The eventSelectHandling property (string) specifies how onEventSelect should be handled when an event is selected.
DayPilot.Scheduler.eventSelectHandling"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 to 1.
"Update"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.
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"
<!-- ... -->
/>DayPilot.Scheduler.onEventSelect