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

Traversing events vertically within a column

Asked by Viktor Eriksson
5 years ago.

When I click an event I show a modal. In this modal I would like to have left/right and up/down arrows to "walk around" in the scheduler. Next and previous is simple:
const eventsOnRow = args.e.calendar.rows.find(args.e.row()).events.all();
then just find my event and take index +/-1.

But is there a simple way of finding events that is in the same column above and below current event ?

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

It's possible to use events.forRange() method. It's now included in the API docs as well:
https://api.daypilot.org/daypilot-scheduler-events-forrange/

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