Results 1 to 8 of 8

Thread: Unspecified error encountered in IE tabbing up and down single-column editable grid.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Datchet, UK
    Posts
    21

    Default Unspecified error encountered in IE tabbing up and down single-column editable grid.

    Ext version tested:
    • Ext 6.2.1.167
    • Ext 6.2.0.981
    • Ext 6.0.2.437


    Browser versions tested against:
    • Internet Explorer 8, 9 and 11.


    DOCTYPE tested against:
    • HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"


    Description:

    Using Ext6 and Internet Explorer 8, 9 or 11, tabbing up and down a single column editable grid can encounter 'Unspecified error' exceptions that interfere with correct keyboard navigation.

    Steps to reproduce the problem:

    Visit https://fiddle.sencha.com/#view/editor&fiddle/1q1j or use the code shown below.

    Using Internet Explorer 11, click on the first grid cell to put it into edit mode. Tab twice to the bottom cell. Press Enter key twice to take the cell out of, then back into, edit mode. Shift-tab once to move to the previous cell.

    The result that was expected:

    Focus should move up to the second row cell, placing it into edit mode, and allowing further tab or shift-tab keyboard navigation.

    This correct behaviour can be seen with Firefox, Chrome, Safari and Internet Explorer 10, and with any version of Ext6.

    The correct behaviour can also be seen with any version of Internet Explorer and Ext 5.

    The result that occurs instead:

    An 'Unspecified error' occurs (visible in the console of Internet Explorer's web tools - F12) and the target cell jumps out of edit mode, with focus lost somewhere, preventing further tab or shift-tab keyboard navigation.

    With Internet Explorer 8 or 9, the same issue can be seen with just the first tab key press.

    If the grid contains more than just one editable column, the problem does not occur, and normal tab navigation is again possible. This issue only occurs when there is just a single editable column in the grid.

    Code:
        <div id="div_Grid" style="position:absolute; left:12px; top:48px;"></div>
    
        <script type="text/javascript" language="JavaScript">
    
            Ext.onReady(function(){
                Ext.QuickTips.init();
                //
                // Define a grid column with an editor
                //
                var extGrid_columns = [{
                    dataIndex : 'TextField',
                    text : 'TextField',
                    editor : new Ext.form.TextField({ selectOnFocus : true}),
                    flex : 1
                }];
                //
                // Define the data model
                //
                Ext.define('extGrid_model', {
                    "extend" : 'Ext.data.Model',
                    "fields" : [{name : 'TextField'}]
                });
                //
                // Create the data store and load three items
                //
                var extGrid_datastore = Ext.create('Ext.data.Store', {
                    model : 'extGrid_model',
                    proxy : { type : 'memory', reader : { type : 'json'} },
                    data : [
                        {TextField : 'Item 1'},
                        {TextField : 'Item 2'},
                        {TextField : 'Item 3'}
                    ]
                });
                extGrid_datastore.load();
                //
                // Create the cell editing plugin
                //
                var extGrid_cellediting = Ext.create('Ext.grid.plugin.CellEditing', {
                    pluginId : 'extId_Grid_cellediting',
                    clicksToEdit : 1
                });
                //
                // Create the editable grid and render it
                //
                var extGrid = Ext.create('Ext.grid.Panel', {
                    width : 200,
                    height : 200,
                    columns : extGrid_columns,
                    store : extGrid_datastore,
                    plugins : [extGrid_cellediting]
                });
                extGrid.render('div_Grid');
            });
    
        </script>

  2. #2
    Ext JS Premium Member
    Join Date
    Aug 2011
    Location
    Greenville, SC
    Posts
    181

    Default

    We are experiencing the same issue. It is definitely related to selectOnFocus.

    I have escalated this to support.

  3. #3
    Ext JS Premium Member
    Join Date
    Aug 2011
    Location
    Greenville, SC
    Posts
    181

    Default

    Well, support closed my issue without even responding to it.

    ticket-35986

  4. #4
    Ext JS Premium Member
    Join Date
    Aug 2011
    Location
    Greenville, SC
    Posts
    181

    Default

    For anyone who needs it, here is a simplified version of the bug. It appears to be related with 2 rows with the same data.

    https://fiddle.sencha.com/#view/editor&fiddle/1rcg

  5. #5

  6. #6
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    44

    Default

    We are also experiencing this issue in the latest version of Ext JS, 6.5.2.463. Any update, Sencha?

  7. #7
    Ext JS Premium Member
    Join Date
    Aug 2011
    Location
    Greenville, SC
    Posts
    181

    Default

    Quote Originally Posted by andyjl View Post
    We are also experiencing this issue in the latest version of Ext JS, 6.5.2.463. Any update, Sencha?
    It is marked as open with no assigned fix version.

  8. #8
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    44

    Default

    This is still happening in Ext JS 6.5.3.57 and 6.6.0

Similar Threads

  1. Replies: 2
    Last Post: 16 Oct 2014, 9:01 AM
  2. Editable Grid, Tabbing skip NO-editable fields?
    By blomasky in forum Ext: Q&A
    Replies: 5
    Last Post: 6 Sep 2013, 3:18 AM
  3. [OPEN] Column Locking Breaks Tabbing through Editable Cells
    By kgmoney in forum Ext:Bugs
    Replies: 1
    Last Post: 21 Dec 2011, 4:14 PM
  4. Unspecified error in IE when resizing grid column
    By razzaj in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 3 Jul 2008, 6:23 AM

Posting Permissions

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