Header Filter Broken in 4.0

Working to migrate code to latest DHX release. Discovered that I may have to load more modules in 4.0 that I did in 3.6. In 3.6 I loaded the following and header filtering worked just fine:

[code]

[/code]

But in 4.0 this is what I get

If I use the following instead of the above loads the filters work just fine.

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

I reread the release notes and I don’t see mention of additional modules that are needed when using the attachHeader functionality.

mygrid.attachHeader(",#text_filter,,#text_filter,,",['','text-align:center','','text-align:center']);

How can I go about troubleshooting this?

Thank you,
John

the old “dhtmlxgrid_filter.js” should be included in dhtmlx.js in dhtmlx 4.0, so you don’t need to include any additional files.

Note, that the filter extension is available in PRO version only.
If the issue still occurs for you, please, open ticket at support.dhtmlx.com and provide with a complete demo, where the issue can be reconstructed locally.
Here you can find a tutorial about creating a complete demo:
docs.dhtmlx.com/auxiliary_docs__ … pport.html

I found the problem. I accidentally was still loading the old 3.6 dhtmlxgrid_filter.js file along with the new 4.0. Once I removed loaded the old 3.6 file the filter feature rendered correctly.

Thank you for your time,
john