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. Image for the cookie policy date

Scheduler startDate error

Hi,

While routing from one page to another, I am getting below error:

I have assigned all required properties for the Scheduler component.



Regards,
Sonam Diwate

5 Replies

NR Nevitha Ravi Syncfusion Team May 10, 2019 01:54 PM UTC

Hi Sonam, 

Greetings from Syncfusion Support. 

We suspect that dataSource for Scheduler is assigned before the Scheduler is rendered which could cause the reported problem. We suggest you to assign the dataSource to the scheduler in componentDidMount as in the following code. 

componentDidMount() {  
        //assign your dataSource to events variable  
        this.scheduleObj.eventSettings.dataSource = events; 
    }  

Please check whether the above solution works at your end, else please revert us back with the scheduler code snippets to check further on this. 

Regards, 
Nevitha 



SD Sonam Diwate May 14, 2019 12:22 PM UTC

What will be events?