This is a migrated thread and some comments may be shown as answers.

Empty row at the bottom of the calendar

2 Answers 105 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 30 Sep 2019, 07:53 PM

What is the empty row at the bottom of the calendar?  Is there a way to remove it?

 

 

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 01 Oct 2019, 05:38 AM

Hi Ryan,

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.

It may also start showing dates from the next month once we implement that, so the user has a little more context.

That said, you can remove this last row and shorten the calendar by doing something like this (but there is a slight risk to hide a couple of days at the end of a peculiar month):

 

<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

 UI for Blazor
0
Marin Bratanov
Telerik team
answered on 19 Dec 2019, 02:32 PM

For anyone experiencing this - there is now a feature request for implementing the next/prev month dates in the current month view that you can Follow here: https://feedback.telerik.com/blazor/1446687-empty-row-at-the-bottom-of-the-calendar-should-show-the-next-month.

--Marin

Tags
Calendar
Asked by
Ryan
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or