DayPilot.Month.eventSelectHandling

The eventSelectHandling property (string) specifies the default event selection action.

Declaration

DayPilot.Month.eventSelectHandling

Possible Values

  • "Update" updates the selection using the built-in client-side behavior.

  • "Disabled" disables the default event selection action.

  • "CallBack" performs a callback when an event is selected. ASP.NET WebForms, ASP.NET MVC, and Java versions only.

  • "PostBack" performs a postback when an event is selected. ASP.NET WebForms only.

Default Value

"Update"

Examples

JavaScript

const month = new DayPilot.Month("dp", {
  eventSelectHandling: "Update",
  // ...
});
month.init();

Angular

<daypilot-month [config]="config"></daypilot-month>
config: DayPilot.MonthConfig = {
  eventSelectHandling: "Update",
  // ...
};

React

<DayPilotMonth
  eventSelectHandling="Update"
  {/* ... */}
/>

Vue

<DayPilotMonth
  eventSelectHandling="Update"
  <!-- ... -->
/>

See Also

Event Selecting [doc.daypilot.org]

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript