Uncaught ReferenceError: dhtmlxEventable is not defined
at e.createTimelineView
at dhtmlxscheduler_timeline.js
scheduler.createTimelineView({
name: “timeline”,
x_unit: “minute”,
x_date: “%H:%i”,
x_step: 30,
x_size: 24,
x_start: 16,
x_length: 48,
y_unit: sections,
y_property: “section_id”,
render: “bar”,
round_position: true,
scrollable: true,
column_width: 70
});
Hello,
This happens due to the fact that the extension file from the old version of the Scheduler is used.
We have recently released Scheduler 6.0 and all extensions have been included in the main file of the Scheduler component and now are enabled with the plugins()
method:
https://docs.dhtmlx.com/scheduler/api__scheduler_plugins.html ;
So, you can remove your timeline file and use timeline via plugins
:
scheduler.plugins({
timeline: true,
});
or you can just to add legacy
plugin:
scheduler.plugins({
legacy: true
});
Note, we won’t promise that the timeline written for the previous version of the Scheduler will work with the Scheduler 6.0. We don’t check the joint functionality of modules from different versions
Thanks for the reply.
It’s working fine when I used “https://docs.dhtmlx.com/scheduler/codebase/dhtmlxscheduler.js”
Also, I am getting an error msg
But When I use “https://cdn.dhtmlx.com/scheduler/edge/dhtmlxscheduler.js”
Then this error msg does not show, Then “My scheduler is not working”
How can I solved this problem?
Hello,
https://cdn.dhtmlx.com/scheduler/edge/dhtmlxscheduler.js
– the GPL (free) version of the Scheduler is available on this link, that doesn’t support timeline view. Here, you can check which functionalities are included in Standard and PROversions of the Scheduler:
https://docs.dhtmlx.com/scheduler/editions_comparison.html ;
https://docs.dhtmlx.com/scheduler/codebase/dhtmlxscheduler.js
– this link provides a PRO version of the Scheduler for using at dhtmlx.com
If you have an active Scheduler subscription (or had one when the Scheduler 6.0 was released), you can download the latest scheduler from the client’s area at dhtmlx.com