Results 1 to 5 of 5

Thread: [DUP][CLOSED][2.2.1] regression bug in IE7 for forceFit in editorgrid

  1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    Lodz, Poland
    Posts
    173

    Default [DUP][CLOSED][2.2.1] regression bug in IE7 for forceFit in editorgrid

    Try running the simple code below to display editor grid. It runs ok on FF3/Opera9.63/Safari3.2.2, but get's broken on IE7. It displays ok first, but after clicking on any cell in second or third column, the whole grid content is moved to left, hiding all left-most columns, making it completely unusable.
    I checked it works ok with ext-all-debug.js from 2.2, and is broken in ext-all-debug.js from 2.2.1.
    Problem occur only for forceFit=true.

    Code:
    Ext.onReady(function() {
                new Ext.Viewport({
                    layout : 'fit',
                    items : [{
                        xtype : 'editorgrid',
                        title : 'Entries',
                        viewConfig : {
                            forceFit : true
                        },
                        store : new Ext.data.Store({
                                    autoLoad : true,
                                    proxy : new Ext.data.MemoryProxy({
                                                data : [{day:"10-10-2000",duration:"8h",description:"aaa"},
                                                {day:"11-10-2000",duration:"7h",description:"bbb"},
                                                {day:"12-10-2000",duration:"6h",description:"ccc"}]
                                            }),
                                    reader : new Ext.data.JsonReader({
                                                root : 'data',
                                                fields : ['day', 'description',
                                                        'duration']
                                            })
                                }),
    
                        columns : [{
                                    header : "Date",
                                    dataIndex : 'day'
                                }, {
                                    header : "Time",
                                    dataIndex : 'duration'
                                }, {
                                    header : "Description",
                                    dataIndex : 'description'
                                }]
                    }]
                });
            });

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256

    Default

    Likely a duplicate, it's probably this issue: http://extjs.com/forum/showthread.ph...ghlight=ostyle
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha User
    Join Date
    Dec 2008
    Location
    Lodz, Poland
    Posts
    173

    Default

    Yes, looks very similar, though neither google nor forum search did not returned it to me (probably because I included forceFit in serach keywords). I will try to apply the fixes and then we'll see if it's actually the same.

  4. #4
    Sencha User
    Join Date
    Dec 2008
    Location
    Lodz, Poland
    Posts
    173

    Default

    Confirmed: the fix works for me.

  5. #5
    Ext JS Premium Member
    Join Date
    Feb 2009
    Location
    London, UK
    Posts
    31

    Default Sometimes happens without forceFit

    I get this issue in 2.2.1 after editing a cell, when forceFit is true. It happens every time if forceFit is true, as is well known.

    However I would like to point out that in IE7 it can still happen - albeit very rarely - even if forceFit is false.

    I look forward to the official fix in vNext (3.0?) because this one is nasty. Many thanks.

    Andrew

Posting Permissions

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