Home Unanswered Active Tags New Question

DayPilotNavigator weekday/weekend distinction

Hi,

We'd like to style the weekdays a different background color that than the weekends in the daypilot navigator in a similar way that it is in the calendar.

Currently, I don't believe this is possible. If I'm wrong, can you let me know how to accomplish this. Otherwise, is this something that could be added in the future?

Thanks,

Colin

Asked by Colin 2 years ago.
Replies

This is not supported at the moment but I'm adding it to the wishlist. I'm not sure if it gets into 5.7 release.

Comment posted by Dan Letecky 2 years ago.

A special CSS class is now added to weekend days in DayPilot Navigator (build 5.7.1848).

The suffix is "weekend" so you should define a CSS class like this:

.navigator_silver_weekend {
   background-color: #f0f0f0;
}

Having DayPilotNavigator.CssClassPrefix="navigator_silver_".

See also an updated documentation page:

Comment posted by Dan Letecky 2 years ago.

awesome, thanks!

Comment posted by Colin 2 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java