Scheduler throws error when EnableDynamicLoading is on


#1

Hi,

Before I used EnableDynamicLoading, the app worked perfect but now it throws an error: “Uncaught TypeError: Cannot read property ‘1’ of undefined” in dhtmlxscheduler_timeline.js:61. I tried to use scheduler.BeforeInit.Add(“schedulerClient.init()”); where I wanted set date using scheduler.init or scheduler.setCurrentView but it didn’t help. And now I don’t have any clue what is wrong?

Regards


#2

Hi,

I tried to reproduce the issue locally by adding timeline view into the sample, but unsuccessfully.
https://docs.dhtmlx.com/scheduler/samples/01_initialization_loading/05_loading_database.html

Could you send the demo where the issue occurs? That would help me understand the cause and how to fix.


#3

Unfortunately, I’m not allowed to send a demo. But I appreciate your help :wink: