Unplanned
Last Updated: 17 Nov 2020 10:26 by ADMIN
Steven
Created on: 09 Nov 2020 19:47
Category: Scheduler
Type: Feature Request
1
scheduler month view shows days outside of selected month
I would like to be able to only see the days for the selected month when in month view.  Currently the calendar shows a set number of weeks and includes days from the previous/next month.   Some kind of setting to only show the days for the current month would be great.  
3 comments
ADMIN
Aleksandar
Posted on: 17 Nov 2020 10:26

Hi Steven,

With the current implementation of the Scheduler, it will render a table with 6 rows and 7 columns to account for the dates of the month and the days of the week, respectively. The Scheduler utilizes a special strategy of reusing DOM elements and rendering of events. For example, if the rows were less than 6, the 01,02 and 31Jan2021 would not be rendered:

You are indeed correct that currently for December 2020 the last row is not required thus an option to dynamically change the number of weeks displayed in the Month view, based on the number of days in the current month is indeed a valid Feature Request. 

Regards,
Aleksandar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Steven
Posted on: 10 Nov 2020 15:36
The dojo example is the calendar.  I would suggest this change for the scheduler month view.  Does it operate in the same fashion?
ADMIN
George Gindev
Posted on: 10 Nov 2020 15:34

Hi Steven,

To achieve the desired outcome, use CSS similar to:

    .k-calendar-view .k-other-month {
    	    visibility: hidden;
    }

For a runnable example, check this Dojo - https://dojo.telerik.com/owuTUqiV/2

 

Regards,
George Gindev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.