Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member
    Join Date
    Nov 2009
    Posts
    9
    Vote Rating
    1
    rzen is on a distinguished road

      0  

    Default [4.06] Ext.grid.column.Column isGroupHeader hidden subheader bug

    [4.06] Ext.grid.column.Column isGroupHeader hidden subheader bug


    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:

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

    Code:
    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;
    }
    Attached Images

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,645
    Vote Rating
    583
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This should be resolved in 4.0.7.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

Tags for this Thread