TypeError: this._parent.config is undefined


When I try to create a window object, I always get “TypeError: this._parent.config is undefined”. I am using DHTMLX Suite in a Joomla module. DHTMLX Suite7 is referenced in document header:

The javascript code to create the window:

dhxWindow = new dhx.Window( { header:“some text”, modal:true, movable:true } );

This error is displayed when the above code is executed:

Uncaught TypeError: this._parent.config is undefined
isVisible https://cdn.dhtmlx.com/suite/edge/suite.js:21
isVisible https://cdn.dhtmlx.com/suite/edge/suite.js:21
paint https://cdn.dhtmlx.com/suite/edge/suite.js:21
attach https://cdn.dhtmlx.com/suite/edge/suite.js:21
_initUI https://cdn.dhtmlx.com/suite/edge/suite.js:21
h https://cdn.dhtmlx.com/suite/edge/suite.js:21

How can I get dhx.Window working? Thanks in advance for your advice.


sorry, I didn’t escape the headerlinks properly:

<link href=“https://cdn.dhtmlx.com/suite/edge/suite.css” rel=“stylesheet” />
<script src=“https://cdn.dhtmlx.com/suite/edge/suite.js”></script>


Unforunaetly the problem cannot be reconstructed locally.
Your code seems to work well for me locally.
If the prkblem still occurs for you please, provide a complete demo or a demo link, where the problem could be reproduced.


Thanks a lot for your response!
Here is my demo link: https://dhxbdr.welsch1.de/
I have created the “Basic Application” from your “How To Start” tutorial. Everything works fine until execution of step 8 “Add a Window”, where I added my code to use the dhx.Window class. The error message is similar to the one reported earlier: “TypeError: this._initHandlers is not a function”. Looks like they are somehow related.
I would love to use the Window class! Therefore thanks in advance for your advice.


Hi semantik, do I need to provide any further information to get this window problem fixed? Your advice is much appreciated!