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

Highlighting dates in scheduler

Asked by Anonymous
4 years ago.

How can we highlight the dates in the Scheduler if we have events?
Now, the current date will be highlighted by red box. Like this how to highlight more dates ?

Is this possible?

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

In the Scheduler, you can use onBeforeCellRender to highlight selected cells. In that event handler, you can use args.cell.events() to get a list of events that overlap with the cell.

See also:
https://doc.daypilot.org/scheduler/cell-customization/
https://api.daypilot.org/daypilot-scheduler-onbeforecellrender/

If you mean the Navigator, you can highlight busy days by loading the event data:
https://doc.daypilot.org/navigator/highlighting-busy-days/

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