The timeRangeDoubleClickCallBack() method executes the server-side time range double-click action using a CallBack (ASP.NET WebForms, ASP.NET MVC, Java).
DayPilot.Calendar.timeRangeDoubleClickCallBack(start, end, resource, data)start (DayPilot.Date) - start of the time range
end (DayPilot.Date) - end of the time range
resource (string) - resource of the time range
data (object) - additional custom data
Use this legacy method to trigger the server-side time range double-click action and optionally include additional custom data with the callback request.
Use DayPilot.Calendar.timeRangeDoubleClickHandling to configure the default double-click action for time ranges. In the current JavaScript API, use DayPilot.Calendar.onTimeRangeDoubleClick before the default action and DayPilot.Calendar.onTimeRangeDoubleClicked after it.
const dp = new DayPilot.Calendar("dp", {
// ...
});
dp.init();
const start = new DayPilot.Date("2026-03-09T09:00:00");
const end = new DayPilot.Date("2026-03-09T10:00:00");
dp.timeRangeDoubleClickCallBack(start, end, "R1", { source: "selection" });DayPilot.Calendar.timeRangeDoubleClickHandling
DayPilot.Calendar.onTimeRangeDoubleClick