View Full Version : Extjs grid summary row render error in IE6

22 Jul 2013, 1:14 AM
Hello there,
I have a grid which configed with summary row,it shows well in IE8 and FireFox,but it do not work well in IE6,see attached file.
The grid has 3 locked columns and 31 unlocked columns,and the first row is the summary row.And my extjs version is 4.2.0
Anyone can help me?

23 Jul 2013, 1:24 AM
I fixed this bug by overwriting Ext.grid.feature.Summary,overwriding its "onColumnHeaderLayout" method:
old code:
el.setWidth(column.width || (column.lastBox ? column.lastBox.width : 100));

new code("isIE6" is calculated before):
el.setWidth(column.width-2 || (column.lastBox ? column.lastBox.width : 100));
el.setWidth(column.width || (column.lastBox ? column.lastBox.width : 100));

Now it will be OK.
Hope to help others working with IE6.

25 Jul 2013, 8:38 AM
If you try your code (without the override) with 4.2.1 do you still observe the issue?

11 Nov 2013, 5:20 AM
Yes, still in 4.2.1 actual but for Firefox this time.

13 Nov 2013, 1:38 PM
Can you post a working test case?
You can use https://fiddle.sencha.com to construct/share the test case as well. Just log in with your forum login and password.

14 Nov 2013, 12:37 AM
The working fiddle: https://fiddle.sencha.com/#fiddle/1id
The issue can be reproduced in the latest Firefox and Chrome.

19 Nov 2013, 2:40 PM
If you test outside of fiddle does it work ok for you?

19 Nov 2013, 10:10 PM
No. It's just the same as in the fiddle.