PDA

View Full Version : [CLOSED] [4.06] Ext.grid.column.Column isGroupHeader hidden subheader bug



rzen
14 Oct 2011, 6:34 PM
When a subheader in a group header is hidden by initial configuration, the master header becomes misaligned because it ignores the hidden config option. The problem is in Ext.grid.column.Column#initComponent:



for (i = 0, len = me.items.length; i < len; i++) {
me.width += me.items[i].width || Ext.grid.header.Container.prototype.defaultWidth;
}

the fix:



for (i = 0, len = me.items.length; i < len; i++) {
if (!me.items[i].hidden)
me.width += me.items[i].width || Ext.grid.header.Container.prototype.defaultWidth;
}

evant
15 Oct 2011, 4:14 PM
This should be resolved in 4.0.7.