search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

OnTimeRangeSelected

Asked by Filippo Berlini
3 years ago.

when the user clicks on a cell in which there are no events, I would like to obtain automatically the time range related to the clicked cell

Answer posted by Dan Letecky [DayPilot]
3 years ago.

You can access the time range boundaries using args.start and args.end in onTimeRangeSelected event handler. Please see also:
https://api.daypilot.org/daypilot-scheduler-ontimerangeselected/

You can also get the current position using getCoords() method:
https://api.daypilot.org/daypilot-scheduler-getcoords/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.