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

Cell background color change

Asked by TM
4 years ago.

how to set the individual back ground cell color depend on value
im trying to implement machine planing visualization
like machine schedule time from start date and time to end date and time
during this period show the cell color machine status if running then green else red

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

You can control the grid cell background color using BeforeCellRender event:
https://doc.daypilot.org/scheduler/cell-customization/

However, for displaying dynamic data it might be better to use events than to map the status to the grid cells. The events can be customized using BeforeEventRender:
https://doc.daypilot.org/scheduler/event-customization/

Comment posted by TM
4 years ago.

not working on individual cell

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