TreeGrid width expands in IE over time

We have a problem with the 4.6.1 version of the DHTMLX TreeGrid control when it is used in Internet Explorer 11. We don’t know if the problem is exclusive to 4.6.1 or not. The exact IE version in which we are testing is 11.0.9600.18124.

The issue is that, each time the “plus button” on the top line is clicked to either open or close the associated subtree, the width of the grid expands by a pixel or two … or at least the right edge of the grid keeps moving further to the right. You can see this behavior via the attached sample HTML file, which relies upon the latest version of DHTMLX being present in a dhtmlx folder below the test file. The first such “creep” of the size can be witnessed as soon as the grid is drawn, even before anything is clicked … but then repeatedly clicking to open and close that subtree will eventually result in the right grid edge moving significantly further to the right, enough to screw up any surrounding page formatting, which makes this a major problem for us since our grid will probably see users opening and closing portions of the tree many times.

Note that the same file works fine in Google Chrome, with no such “creeping up” of the width.

Please, try to add a valid doctype on your page:

...

Hmm, yes, unfortunately that does seem to address the IE issue. I say “unfortunately” because, due to the nature of the environment in which we are deploying the DHTMLX control, it is very impractical for us to add a DOCTYPE to our generated pages … in fact doing so would probably break our entire application. So I may just have to document and put up with the creeping size, then.

Thanks for looking into it.