Events do not fit into Scheduler Cells

2 posts, 0 answers
  1. Grant
    Grant avatar
    179 posts
    Member since:
    Jul 2016

    Posted 30 Sep 2020 Link to this post

    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

  2. Dimitar
    Admin
    Dimitar avatar
    499 posts

    Posted 02 Oct 2020 Link to this post

    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/.

Back to Top