Results 1 to 3 of 3

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

    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
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Sorry... cannot reproduce.

    Screen Shot 2011-12-15 at 5.31.11 PM.jpg
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Posts
    2
    Vote Rating
    0
      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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •