The eventSelectHandling property (string) specifies the default action used for event selection in the JavaScript Calendar component.
DayPilot.Calendar.eventSelectHandling"Update" - updates the event selection state in the UI.
"Disabled" - disables built-in event selection.
"CallBack" - processes the selection change using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"PostBack" - processes the selection change using PostBack (ASP.NET WebForms only).
"Update"Use DayPilot.Calendar.onEventSelect to inspect or cancel the selection before the default action is performed, and use DayPilot.Calendar.onEventSelected after the selection state changes.
The built-in selection UI is available only when eventSelectHandling is not set to "Disabled".
JavaScript
const calendar = new DayPilot.Calendar("dp", {
eventSelectHandling: "Disabled",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
eventSelectHandling: "Disabled",
// ...
};React
<DayPilotCalendar
eventSelectHandling="Disabled"
{/* ... */}
/>Vue
<DayPilotCalendar
eventSelectHandling="Disabled"
<!-- ... -->
/>Event Selecting [doc.daypilot.org]
DayPilot.Calendar.onEventSelect