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

DayPilotNavigator weekday/weekend distinction

Asked by Colin
15 years ago.

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

Comment posted by Dan Letecky
15 years ago.

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
15 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 Colin
15 years ago.

awesome, thanks!

Answer posted by Nicholas Kellner
12 years ago.

Is this feature supported in the DEMO? I'm using version 6.8.2477.1, but it doesn't work. Firebug shows "navigator_silver_daybox" on weekend days.

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