Missing 4.0 Extension?

Using version 3.6 I’m able to load the following and generate the web page correctly:



But in version 4.0 I get the following error and the page never renders:

If I replace the above individual loads with this it works just fine:

<script type="text/javascript" src="api/dhtmlx/codebase/dhtmlx.js"></script>

So I’m missing an extension of some kind I’m guessing. How can I troubleshoot which ones I’m missing.

Thank you,

The dhtmlx.js file that comes with 4.0 includes all of the individual components you used in 3.6. I don’t believe you’re missing anything.

I was hoping to load individual files to keep the memory footprint down. But it seems that when I load the one large integrated file it works so I’m missing something from the individual include list.


are you using the latest 4.0.2 version ? There have been some changes since the first 4.0 release including changes related including scheme of sources libraries.
Please download the latest package. And in case of Tree definition you will need to include the following libraries to enable basic functionality:


If you are using several components, dhtmlxcommon.js should be included before other libs (same as in previous versions).