:: Forum >>

Column collapses when resizing in IE9 standard mode

When I click on a vertical bar in the header of a data grid and try to resize a column, the column width collapses to a few pixels. Only when I drag the mouse very far to the right, it becomes wider again.
This can be reproduced with IE9 in standard mode. With IE11, or with IE9 in quirks mode, it works fine.
Marcel Zumstein
Wednesday, March 4, 2015
Cannot reproduce this. Could it be related to your application stylesheet? Do you see the same issue with the examples in the download package?
Alex (ActiveWidgets)
Tuesday, March 17, 2015
ok, I can reproduce now - it requires zoom to be other than 100%.
Alex (ActiveWidgets)
Tuesday, March 17, 2015
Looks like the issue is triggered by IE9 bug, where mousemove event object has incorrect screenX value (ignoring zoom level). Mousedown event has correct value, but then the difference becomes negative - thatÂ’s why you see the column collapsed.

To fix this we can use clientX property instead of screenX (which is actually the right thing to do with regard to zoom/scaling). In the source/lib/grid/separator.js replace screenX with clientX (3 occurences), same in runtime/lib/aw.js line 88 (starting with AW.Grid.Separator).

The next maintenance release (2.6.5) will have this fixed.
Alex (ActiveWidgets)
Wednesday, March 18, 2015
This solved my issue. Thanks a lot!
Marcel Zumstein
Thursday, March 19, 2015

This topic is archived.


Back to support forum

Forum search