The onLinkClick event is called when the user clicks a link in the JavaScript Scheduler component. It is fired before the default action.
DayPilot.Scheduler.onLinkClick(args)
args.link (DayPilot.Link) - the target link
args.link