Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
UltraWebGrid issues under Standards mode vs Quirks mode
posted

Sorry this is long, I hope that if nothing else future searchers can glean something out of this request...

I have recently been fighting some highly annoying issues using the UltraWebGrid (ver 10.3) under IE in Standards Mode vs Quirks Mode. I have tried IE 7 and IE 9  with the same results.

Oddly, while I have found a couple of light references to there being issues with these grids under standards mode, the forums seem to be relatively devoid of much help with such Standards vs Quirks mode issues.

In Quirks mode, if I use any fixed columns, they are covered by the scrolling cells when we scroll horizontally. This issue does not exist when the document is in Standards mode. I have not found a way to resolve this other than to get the browser to render the document in Standards Mode.

However, when in Standards mode, the grid does not size itself properly when set to 100%, it overflows it's container. This is most noticable in the height, where it would actually visibly overflow the container. I found that I can fix this height issue by using JavaScript and calling the resize method of the grid [ myGrid.resize(desiredWidth, desiredHeight) ], however I still have an issue with the horizontal width. Although it appears that the grid (and it's horizontal scrollbar) fit within the container div at first glance, when you scroll all the way to the right  the right-most columns are hidden from view. The amount of the table that is hidden appears to vary based on the number of the columns the table contains.

I have seen that although the columns have defined widths and heights, when I compare the same grid in Standards mode vs Quirks mode, the cells are NOT rendered the same size - the cells are larger in Standards mode, although the margins and padding seem consistent between the two, the cell itself IS larger.  I believe this is caused by differences in how IE renders tables under standards and quirks modes, possibly due to the well-documented box model size calculation differences, but I am not sure, and am not sure how I can "fix" the issue. So far, general Google searches on how this mode affects IE table cell sizes have not been useful.

So, in short, does anyone know why, under Standards mode, the last columns of the grid do not show, even when scrolled completely to the end? In addition, is there a way to fix the issue, other than knocking the browser into quirks mode?

-- Insert usual blather about this being a critical issue, spending 2 days on the issue, and being on a deadline here  :P  --

Thanks!
Glenn