A problem about dhtmlx.js and connector.js (version 4.0)

the HTML main code is below:

mygrid = new dhtmlXGridObject('gridbox'); mygrid.setHeader("username,password"); mygrid.attachHeader("#connector_text_filter,#connector_text_filter");

the HTML file have already import the necessary files in tags.

[code]

[/code]

but when the HTML runs, the header (#connector_text_filter) is not parsed, the header is still a pure text(#connector_text_filter), not a HTML text filed (), please see the attachment.

But when I uncomment the code below:

and run the HTML page agin, it works well.

Although from version 4.0, connector.js is included in dhtmlx.js, the code content which in connector.js may be included a little front, and the relevant variables have not be initialized
yet.

if (window.dhtmlXGridObject && !dhtmlXGridObject.prototype._init_point_connector){ …… …… }

Please try to use the updated dhtmlx.js, this is you need not include connector.js for sure.
dhtmlx-connector.zip (274 KB)