The onEventSelect event handler is fired after the event has been selected as a result of event click when eventClickHandling is set to "Select".
DayPilot.Queue.onEventSelected(args);