This is a migrated thread and some comments may be shown as answers.
Events do not fit into Scheduler Cells
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
Grant
Top achievements
Rank 1
Grant asked on 30 Sep 2020, 12:39 PM

Hi, 

As my title suggests, the events I'm initially loading into my scheduler (from a remote DS) do not fit into the cells.

On initial page load, the scheduler is created and the view defaults to "month". Then, upon reading data (manually via scheduler.dataSource.read()) from the remote source, the events overflow the grid cells (which are set to auto height and with overflow).

If I change the view from the default "month" view to a "week" view the events render correctly (fitting them within the grid cells), and then upon changing back to the month view, the events fit the grid cells correctly. Refreshing the page causes the events to overflow again.

I have tried using scheduler.refresh() with no avail.

Please see attached image.

Thanks,
Grant

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 02 Oct 2020, 10:30 AM

Hi Grant,

I tried to reproduce the issue by following the setup description, but the issue is not reproducible on my side - Dojo snippet. This Dojo is a modified version of Scheduler Auto Event Height demo, with autoBind false set and eventsPerDay set to 2 and eventHeight auto. The events fit in the time slots as expected. It would be helpful if you create a Dojo snippet showing the setup used for reproduction or modify my Dojo snippet for it. Also please mention the browser used for testing and its version, if the issue is browser specific.

Regards,
Dimitar
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/.

Asked by
Grant
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or