DayPilot.Scheduler.eventClickCallBack

The eventClickCallBack() method invokes the server-side click handler using an AJAX callback.

This only applies to ASP.NET WebForms, ASP.NET MVC and Java versions.

Declaration

DayPilot.Scheduler.eventClickCallBack(e, data)

Parameters

  • e (DayPilot.Event) - target object

  • data (object) - additional custom data sent to the server-side event handler

Notes

This is a legacy server-side helper for ASP.NET WebForms, ASP.NET MVC, and Java Scheduler integrations.

Use the data parameter to include custom values with the callback request.

Example

const e = dp.events.find(1);
dp.eventClickCallBack(e, { source: "custom-button" });

See Also

DayPilot.Scheduler Class