We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cannot read property 'isTimelineView' of undefined

Thread ID:

Created:

Updated:

Platform:

Replies:

147840 Sep 25,2019 01:12 PM UTC Sep 27,2019 04:27 AM UTC Angular - EJ 2 3
loading
Tags: Schedule
Jan van Rossum
Asked On September 25, 2019 01:12 PM UTC

After placing a new fresh default schedule in our Angular application we are getting the following error in the (Chrome) JS console:

core.js:9110 ERROR TypeError: Cannot read property 'isTimelineView' of undefined
    at ComponentBase.<anonymous> (ej2-schedule.es2015.js:11023)
    at ComponentBase.push../node_modules/@syncfusion/ej2-angular-base/src/component-base.js.ComponentBase.trigger (component-base.js:204)
    at ComponentBase.<anonymous> (ej2-schedule.es2015.js:11021)
    at ComponentBase.push../node_modules/@syncfusion/ej2-angular-base/src/component-base.js.ComponentBase.trigger (component-base.js:204)
    at ComponentBase.changeDate (ej2-schedule.es2015.js:11015)
    at ComponentBase.propertyChangeAction (ej2-schedule.es2015.js:11517)
    at ComponentBase.onPropertyChanged (ej2-schedule.es2015.js:11504)
    at ComponentBase.dataBind (ej2-base.es2015.js:1239)
    at ComponentBase.dataBind (ej2-base.es2015.js:5203)
    at ZoneDelegate.invokeTask (zone-evergreen.js:391)

The scheduler is rendering fine, everything else is working as expected.
We are using the TimelineWeek view.

Do you have any idea how we can prevent this error? Thanks in advance.


Karthigeyan Krishnamurthi [Syncfusion]
Replied On September 26, 2019 08:34 AM UTC

 
Syncfusion greetings. 
 
We have checked the reported case in the below sample and no script error occurs.  
 
Kindly try the sample and if the issue persists, try to reproduce the error in a sample and revert else share your code example/runnable sample (if possible) to serve you better. 
 
Regards, 
Karthi 
 


Jan van Rossum
Replied On September 26, 2019 12:21 PM UTC

Thanks for the example.
It helped me fix this bug.
It seems like it had something to do with the timing of the selectedDate binding in my implementation.
What helped me on the right track is seeing your example where the selectedDate binding is two way => [(selectedDate)]

Karthigeyan Krishnamurthi [Syncfusion]
Replied On September 27, 2019 04:27 AM UTC

Most welcome 😊 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon