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

Traversing events vertically within a column

Asked by Viktor Eriksson
13 days 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]
13 days 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/

New Reply
This reply is
Your name (optional):