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

timeline bug in horizontal mode

3 Answers 77 Views
Timeline
This is a migrated thread and some comments may be shown as answers.
Nurbek
Top achievements
Rank 1
Nurbek asked on 02 Apr 2020, 10:36 AM

When I created a timeline in horizontal mode with data=[], it throws exception.

The source code: https://dojo.telerik.com/oSiroXIv/3

The exception:

Uncaught TypeError: Cannot read property 'left' of undefined
    at o (kendo.all.min.js:sourcemap:92)
    at init._initHorizontal (kendo.all.min.js:sourcemap:92)
    at init.refresh (kendo.all.min.js:sourcemap:92)
    at init.d (jquery.min.js:2)
    at init.trigger (kendo.all.min.js:sourcemap:25)
    at init._process (kendo.all.min.js:sourcemap:28)
    at init.success (kendo.all.min.js:sourcemap:28)
    at Object.success (kendo.all.min.js:sourcemap:28)
    at init.read (kendo.all.min.js:sourcemap:27)
    at kendo.all.min.js:sourcemap:28

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 06 Apr 2020, 09:21 AM

Hello Nurbek,

Thank you for notifying us about this unusual error thrown in the console.

This is a known issue that has already been fixed and will be available later today with today's internal build. You can download it from the download section in your account on telerik.com or wait for the next official release.

Let me know if you have any questions.

Regards,
Nikolay
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.
0
Nurbek
Top achievements
Rank 1
answered on 09 Apr 2020, 11:02 AM

Hi, Nikolay!

I face another bug after resolving this.

I call redraw method. It causes exception when I call this method with empty data (data=[])

Uncaught TypeError: Cannot read property 'pages' of undefined
    at init._repositionEvents (kendo.all.js:121805)
    at init._redrawEvents (kendo.all.js:121782)
    at init.redraw (kendo.all.js:121744)
    at updateTimeline (ProtocolEventsTimeline.js:29)
    at r.Oa.da (ProtocolEventsTimeline.js:22)
    at knockout-2.0.0.js:30

 

0
Nikolay
Telerik team
answered on 13 Apr 2020, 10:25 AM

Hello Nurbek,

I am glad this has been resolved.

Regarding the new question, I just answered another thread of yours (#1461246) duplicating this one. As a separate thread is required for the new inquiries I am closing this one and we will continue the communication in the other one. This helps us better track the cases and allow us to provide a faster response time.

Regards,
Nikolay
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.
Tags
Timeline
Asked by
Nurbek
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Nurbek
Top achievements
Rank 1
Share this question
or