The timeRangeDoubleClickCallBack() method executes the server-side time range double-click action using a CallBack (ASP.NET WebForms, ASP.NET MVC, Java).
Declaration
DayPilot.Scheduler.timeRangeDoubleClickCallBack(start, end, resource, data)Parameters
start(DayPilot.Date) - start of the time rangeend(DayPilot.Date) - end of the time rangeresource(string) - resource of the time rangedata(object) - additional custom data
Notes
Use this legacy helper to trigger the server-side time range double-click action manually.
The data parameter lets you include additional custom data with the callback request.
Example
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