Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
    Webtel is on a distinguished road

      0  

    Default grid layout bug - with forceFit:true AND rownumberer maxWidth < 40

    grid layout bug - with forceFit:true AND rownumberer maxWidth < 40


    grid layout is bugged when defined with forceFit:true, noticed it when added 'rownumberer' with maxWidth < 40.... column headers dont match column widths.

    Code:
    Ext.create('Ext.Window',{    autoShow:true,
        width:700,
        autoDestroy:true,
        height:500,
        layout:'fit',
        items:[{
            xtype:'gridpanel',
            forceFit:true,
            store:Ext.create('Ext.data.Store',{
                data:[{name:'a',group:2,id:1},{name:'b',group:1,id:2},{name:'c',group:2,id:3},{name:'d',group:1,id:4}],
                remoteSort:true,groupField:'group',fields:['id','name','group']        
            }),
            features:[Ext.create('Ext.grid.feature.Grouping', {})],
            plugins:[Ext.create('Ext.grid.plugin.CellEditing', {})],
            columns:[{xtype:'rownumberer',maxWidth:20},{dataIndex:'id',editor:{xtype:'textfield'}},{dataIndex:'name',editor:{xtype:'textfield'}},{dataIndex:'group',editor:{xtype:'textfield'}}]
        }]
    });

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,824
    Vote Rating
    836
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Sorry... cannot reproduce.

    Screen Shot 2011-12-15 at 5.31.11 PM.jpg
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Posts
    2
    Vote Rating
    0
    petersm is on a distinguished road

      0  

    Default


    Hi I realise this says closed in the title but i think the reason you can't reproduce this is because it only happens in IE8

Thread Participants: 2

Tags for this Thread