You found a bug! We've classified it as EXTJSIV-8274 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    678
    Vote Rating
    62
    Daniil is a jewel in the rough Daniil is a jewel in the rough Daniil is a jewel in the rough Daniil is a jewel in the rough

      0  

    Default [4.2.0 beta 2] Locking grid with rowmodel: moving editor on Tab doesn't work

    [4.2.0 beta 2] Locking grid with rowmodel: moving editor on Tab doesn't work


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.2.0 beta 2
    Browser versions tested against:
    • IE9
    • Chrome
    DOCTYPE tested against:
    • <!DOCTYPE html>
    Description:
    • Moving editor on Tab and Shift+Tab doesn't work with locking grid and row selection model. It doesn't work in an unlocked area, but works in a locked area.
    • It works if set up a grid with a cell selection model.
    Steps to reproduce the problem:
    • Start editing in the first cell of the unlocked area
    • Press Tab
    The result that was expected:
    • Editor moves to the next cell
    The result that occurs instead:
    • Editor doesn't move
    Test Case:

    Code:
    <!DOCTYPE html>
    <html>
    <head>
        <title>Grid locking and rowmodel moving editor on Tab</title>
    
        <link rel="stylesheet" href="../resources/css/ext-all.css" />
        
        <script src="../ext-all-debug.js"></script>
    
        <script>
            Ext.onReady(function () {
                Ext.create("Ext.grid.Panel", {
                    renderTo: Ext.getBody(),
                    height: 200,
                    store: {
                        fields: [{
                            name: "test1"    
                        }, {
                            name: "test2"    
                        }, {
                            name: "test3"    
                        }],
                        data: [{
                            test1: "1",
                            test2: "2",
                            test3: "3"
                        },
                        {
                            test1: "4",
                            test2: "5",
                            test3: "6"
                        }, {
                            test1: "7",
                            test2: "8",
                            test3: "9"
                        }]
                    },
                    columns: [{
                        text: "Test1",
                        dataIndex: "test1",
                        locked: true, // it works without this settign
                        editor: {
                            xtype: "textfield"
                        }
                    }, {
                        text: "Test2",
                        dataIndex: "test2",
                        editor: {
                            xtype: "textfield"
                        }
                    }, {
                        text: "Test3",
                        dataIndex: "test3",
                        editor: {
                            xtype: "textfield"
                        }
                    }],
                    plugins: [{
                        ptype: "cellediting"    
                    }]
                    //, selType: "cellmodel" // it works with this setting
                });
            });
        </script>
    </head>
    <body>
    
    </body>
    </html>

    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    433
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.