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

CSS Support

Asked by Chip
10 years ago.

I wanted to say thank you for the CSS support in 5.1 and ask for a minor enhancement.

Could you add a css option for the BeforeEventRenderEvent event? It would be helpful to switch the css class for each event based on some logic in the render method.

Example: e.CssClass = "MyCssClass"

Thanks!

Comment posted by Dan Letecky
10 years ago.

Yes, that would be possible. I'm adding it to the requirements list.

Comment posted by Chip
10 years ago.

Awesome! Thanks Dan.

Comment posted by Dan Letecky
10 years ago.

This is now implemented for both DayPilot Calendar and DayPilot Scheduler.

This feature will be included in 5.2 release.

Comment posted by Michael Trefry
10 years ago.

CSS Support in the Month Calendar would be great!

Also, those rounded corners are neat, but also not supported in the Month calendar as far as I can tell.

It would be wonderful to have consistency accross views.

Comment posted by Dan Letecky
10 years ago.

Simple CSS support for DayPilot Month should not be much of a problem.

However, the round corners are something different and it will take some time. But it will be supported as well.

Thanks!

Answer posted by Dan Letecky
9 years ago.

CSS support for DayPilot Month was added in 5.5 release. See also DayPilot Month: CSS Class Styling.

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