Completed
Last Updated: 02 Jun 2020 10:31 by ADMIN
Marc
Created on: 13 May 2020 08:50
Category: Kendo UI for Angular
Type: Bug Report
0
Change of numberOfDays property in multi-day view get not rendered

1. Reproduction

import { Component } from '@angular/core';
import { SchedulerEvent } from '@progress/kendo-angular-scheduler';
import { sampleData, displayDate } from './events-utc';

@Component({
    selector: 'my-app',
    template: `
      <button (click)="days=1">1 day</button>
      <button (click)="days=3">3 days</button>
        <kendo-scheduler [kendoSchedulerBinding]="events" [selectedDate]="selectedDate"
                         startTime="07:00" endTime="19:00"
                         style="height: 600px;">
            <kendo-scheduler-multi-day-view [numberOfDays]="days">
            </kendo-scheduler-multi-day-view>

            <kendo-scheduler-week-view>
            </kendo-scheduler-week-view>

            <kendo-scheduler-work-week-view>
            </kendo-scheduler-work-week-view>
        </kendo-scheduler>
    `
})
export class AppComponent {
    public selectedDate: Date = displayDate;
    public events: SchedulerEvent[] = sampleData;
    days = 1;
}
  • in app make sure, the multi-day view is active
  • you'll see one day
  • click on button "3 days" 

2. Expectation

  • I expect to see 3 days 

3. Result

  • I still see 1 day (like in the first screenshot)
  • I have to switch view mode to e.g. week and back to get the desired result

4. Remarks

  • In section "Additional Information" I'll note the information of my project, wich differ from the StackBlitz example. Anyhow the problem occurs in the StackBlitz an in my project
  • I'll note browser and browser version. But the problem does also occur in the latest version of the other major browser.
1 comment
ADMIN
Dimiter Topalov
Posted on: 18 May 2020 12:36

Hi Marc,

Thank you for reporting this issue. We will do our best to provide a fix as soon as possible. The issue can be tracked in our GitHub repo:

https://github.com/telerik/kendo-angular/issues/2904

I also updated your Telerik points for bringing the problem to our attention.

Regards,
Dimiter Topalov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.