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

Highlight Today and Shorten Weekday Names in DayPilot Lite Monthly Calendar

Asked by Anonymous
19 hours ago.

Enhance the DayPilot Lite monthly calendar with the following features:

  1. Highlight Today: Apply a custom CSS class to the cell representing the current day. Ensure that the styling adapts dynamically to the application's theme, so the highlight color changes appropriately when the theme changes.

  2. Shorten Weekday Headers: Update the monthly calendar header to display short names for weekdays (e.g., “Mon” instead of “Monday”).

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

You can use the onBeforeCellRender event handler to add a custom CSS class to selected cells.

At this moment, the Lite version doesn’t support the onBeforeHeaderRender event. However, you can use a custom locale with dayNames values you want to use as column headers.

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):