The calendar viewshows one row too much if the month only has 5 weeks. Please check the attached screenshots.
Steps to reproduce this behaviour:
Just use a regular calendar control and check a month that has 5 weeks only.
E.g. December 2019 if a culture with a week start of Sunday is selected or November 2019 if a culture with a week start of Monday is selected.
Hello Marin,
thank you for the link and the update.
Best regards,
Christian
Hello Christian,
I made your report into one, sorry for not being clear enough in my previous answer. Here's a direct link you can use to get the public feature request page to Follow it: https://feedback.telerik.com/blazor/1446687-empty-row-at-the-bottom-of-the-calendar-should-show-the-next-month.
Regards,
Marin Bratanov
Progress Telerik
Hello Marin,
I understand that the 6. row is needed for months with 6 weeks. The question was just if you could maybe make the component more dynamic (Like only showing 5 rows if the month has 5 weeks only).
> It may also start showing dates from the next month once we implement that, so the user has a little more context.
That would be a good solution for me as well. Do you already have a feature request I can vote for?
Best regards,
Christian
Hello Christian,
It is needed for some months that span 6 weeks. For example, if the 1st is on a Saturday, and the month has 31 days, there will be a day on the last row that is currently empty.<style>
.k-content.k-calendar-content.k-month tbody tr:last-of-type {
display:none;
}
.k-calendar div.k-calendar-view {
height: 15em;
}
</style>
<TelerikCalendar></TelerikCalendar>Regards,
Marin Bratanov
Progress Telerik