The timeRangeDoubleClickHandling property (string) specifies the default action for double-clicking a time range in the monthly calendar.
Declaration
DayPilot.Month.timeRangeDoubleClickHandlingPossible Values
"Disabled"- disables the built-in time range double-click handling."Enabled"- keeps the standard time range double-click behavior enabled."CallBack"- executes the time range double-click action using CallBack(ASP.NET WebForms, ASP.NET MVC, and Java versions only)."PostBack"- executes the time range double-click action using PostBack(ASP.NET WebForms only).
Default Value
"Disabled"Examples
JavaScript
const dp = new DayPilot.Month("dp", {
timeRangeDoubleClickHandling: "Enabled",
// ...
});
dp.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
timeRangeDoubleClickHandling: "Enabled",
// ...
};React
<DayPilotMonth
timeRangeDoubleClickHandling="Enabled"
{/* ... */}
/>Vue
<DayPilotMonth
timeRangeDoubleClickHandling="Enabled"
<!-- ... -->
/>See Also
Time Range Selecting [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot