The onEventRightClick event handler is fired before the default event click action (defined using eventRightClickHandling property).
DayPilot.Queue.onEventRightClick(args);
dp.onEventRightClick = function(args) { if (args.e.id() === "3") { args.preventDefault(); } };