Add a new event or use the existing OnItemClick event in Scheduler Agenda View
Add an event dedicated to detecting a click in the Agenda View. OnItemClick works only for appointments, thus, it doesn't fire when the user clicks the div elements formatted as cells in the Agenda View.