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

Show only current month days in month view

Asked by Anonymous
1 month ago.

Is it possible to only show the dates for the current month in the month view? For example; if the current month is April 2021 then only show the dates Thursday, 04/01/2021 through Friday, 04/30/2021 in the calendar and omit the dates March 28 - March 31 in the first week row and omit May 1 in the last week row.

Answer posted by Dan Letecky [DayPilot]
29 days ago.

It's not possible to hide the boxes but you can use onBeforeCellRender event to remove the day numbers (args.cell.headerHtml) and use a different background color (args.cell.backColor).

See also:
https://api.daypilot.org/daypilot-month-onbeforecellrender/

Comment posted by Anonymous
29 days ago.

Will try that approach, thanks!

New Reply
This reply is
Your name (optional):