Declaration
onEventClick(args)
Parameters
- args.ctrl
- args.metda
- args.div
- args.e (DayPilot.Event) - the event reference
- args.originalEvent
- args.preventDefault() - cancels the default action
Example
dp.onEventClick = function(args) {
if (args.e.id() === "3") {
args.preventDefault();
}
};
api=1
Declaration
onEventClick(e)
Parameters