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

How to change the backColor of the timeRangeSelection while timeRangeSelecting event

Asked by Boubaker CHIHI
7 years ago.

HI;
I would like to have control on the cells belonging to the timeRangeSelection while timeRangeSelecting event !..
The goal is to change the backColor if neede, for example if the resource is out of servcie (hotel room).

Many thanks in advance.

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

You can use the direct cells API, e.g.

https://api.daypilot.org/daypilot-scheduler-cells-find/

Just a note - you need to remember the changes made to the cells and redo them when it's finished.

Comment posted by Boubaker CHIHI
7 years ago.

It works but affects only the first cell !

I need it like i see when the selection overlaps an event and then the backColor becames red !

Thanks

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