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

How to add style to cells

Asked by Thomas
10 months ago.

Hi,

I want to add CSS styling to some specific empty cells (e.g. lunch time) in my DayPilot Week Calendar. Do you know how I can proceed? All empty cells are equivalent in HTML code, I have no idea to target them, and when the Calendar is rendered.

Thank you very much for your comments.

Thomas

Answer posted by Dan Letecky [DayPilot]
10 months ago.

In the Pro version, you can use the onBeforeCellRender event handler to customize the calendar cells - you can add custom CSS class to selected cells or modify the appearance directly.

Unfortunately, onBeforeCellRender is not available in the Lite version at the moment.

Comment posted by Thomas
10 months ago.

Thank you for your feedback.

It suddenly makes things less easy.

Greetings

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