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

How to change cell color on current row

Asked by Vatthanachai W.
7 years ago.

Hi,
I need some help. How to change the cell on current row when mouse over for the scheduler.
Thanks

https://s12.postimg.org/hp8ttno3h/11_21_16_5_30_02_PM.jpg

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

You can modify the cells on the fly using the cells API, e.g.

dp.rows.find("A").cells.all().html("A");

You can also add/remove CSS classes using .addClass() and removeClass().

See also:
https://api.daypilot.org/daypilot-row-cells-all/

It's not really tested to be compatible with an ongoing time range selection but it looks like it could work.

Comment posted by Vatthanachai W.
7 years ago.

Thanks, I'll try it.

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