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

Cannot read property '_continuousEvents' of undefined

2 Answers 150 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Tim Fargo
Top achievements
Rank 1
Tim Fargo asked on 20 Jan 2016, 11:49 PM

I have created a schedule and allowed for the user to filter the people (grouping) that are shown on the schedule. When I retrieve the filtered people (I only have one, I call:

j$("#scheduler").data("kendoScheduler").resources[0].dataSource.read();

After, I read and refresh my schedule, first retrieving data and assigning to an array, and then calling:

scheduler.dataSource.read();

The first time that I do this, I get an error from executing that line saying "Cannot read property '_continuousEvents' of undefined". However, if I filter the people anytime after that, I don't get an error and everything completes successfully. Any ideas?

2 Answers, 1 is accepted

Sort by
0
Tim Fargo
Top achievements
Rank 1
answered on 20 Jan 2016, 11:52 PM
FYI, the j$ variable was created by me and is valid. I also should have included that I have defined "scheduler" in the second code snippet - it would be the same as j$("#scheduler").data("kendoScheduler")
0
Vladimir Iliev
Telerik team
answered on 22 Jan 2016, 09:54 AM
Hello Tim,

Could you please provide runable example where the issue is reproduced? This would help me get better overview of the exact setup that you have and advice you better how improve your setup.

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Tim Fargo
Top achievements
Rank 1
Answers by
Tim Fargo
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Share this question
or