DHTMLX error when trying to include gantt to existing struct

Hi Guys,

I am trying to include the GANTT library to an existing application which uses the full dhtmlx library. When I try to include the dhtmlxgantt.js libary I get an error -

Uncaught TypeError: Object function (t){for(var e in t)dhtmlx[e]=t[e];return dhtmlx} has no method ‘compat’ planner.php:98
initPlannerScreen planner.php:98

When I remove this function (compat) I get another error…

Uncaught TypeError: Object # has no method ‘attachForm’ staff_search.js:42
initStaffSearch staff_search.js:42
initPlannerScreen planner.php:112

So it appears that I cannot include DHTMLX into an existing DHTMLX project? This project uses DHTMLX 3.0, do i need to upgrade to 3.5?


Yes! The same problem!

Existing project with dhtmlx.js + new dhtmlxgantt.js = Object # has no method ‘attachForm’

Any news or solutions?

I’ve just upgraded main project files to 3.6. The same situation.

Anything new on this one? I’m facing the same Problem …

We have fixed few conflicts between core dhtmlx code and dhtmlxGantt
Try to use the updated version