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

Show "event" only as changed background color

Asked by Oliver
7 years ago.

Hello,

I want to show vacation times in the scheduler as cells with a special background color.

The events that are vacation times do have a specific event type in my database. So I am able at any place to find the vacation times.

Where can I achieve this best? In OnBeforeRenderEvent or is there another better place for this?

Thanks in advance.

Oliver

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

If you want to set a color of the grid cells you can use OnBeforeEventRender event handler:
https://doc.daypilot.org/scheduler/cell-customization/

Generating a special type of event with a custom color (customized using OnBeforeEventRender) is another option. This way the vacation time would display in the events layer.

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