When clicking a calendar event, how can I find out what is the date time where the user clicked?
I can access event start and end, but I need to access the information what time during the event has been clicked?
The latest sandbox build (2023.3.5726) now supports a new getCoords() method which you can use to get the date/time value corresponding to the current mouse position:
onEventClick: args => { const coords = dp.getCoords(); const currentTime = coords?.time; // ... }
See also:
https://release.daypilot.org/changes/js/