Results 1 to 3 of 3

Thread: blur() not firing when pressing tab to leave datefield grid cell editor

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9095 in 4.2.1.883.
  1. #1
    Sencha Premium Member
    Join Date
    Sep 2011
    Location
    Tamworth, NSW, Australia
    Posts
    1,287
    Vote Rating
    388
      0  

    Default blur() not firing when pressing tab to leave datefield grid cell editor

    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1.3

    Browser versions tested against:

    • IE9.0.8112.16421
    • FF19.0 (firebug 1.11.2 installed)

    DOCTYPE tested against:
    • DOCTYPE html

    Description:

    Steps to reproduce the problem:
    • wire up blur event
    • add console.log to see output
    • click into date column to activate editor
    • press tab, and watch for lack of console message

    The result that was expected:
    • a working blur() event

    The result that occurs instead:
    • complete lack of blur()

    Test Case:
    Code:
    new Ext.grid.Panel({
        renderTo : document.body,
        title    : 'Test',
        columns  : [
            {
                header    : 'Foo',
                dataIndex : 'foo',
                flex      : 1,
                editor    : 'textfield'
            },
            {
                header    : 'Date',
                dataIndex : 'date',
                flex      : 1,
                editor    : {
                    xtype     : 'datefield',
                    listeners : {
                        blur : function() {
                            console.log('blur');
                        }
                    }
                }
            },
            {
                header    : 'Foo',
                dataIndex : 'foo',
                flex      : 1,
                editor    : 'textfield'
            }
        ],
        store    : {
            fields : ['foo', 'date'],
            data   : [
                {}
            ]
        },
        plugins  : [
            {
                ptype        : 'cellediting',
                clicksToEdit : 1
            }
        ]
    });


    Possible fix:
    • not provided

    Additional CSS used:
    • only default ext-all.css
    • none

    Operating System:
    • Windows 7 Enterprise, SP1
    Last edited by mitchellsimoens; 12 Mar 2013 at 7:30 AM. Reason: updated test to be full

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    I have updated your test to be a full test not just a snippet.

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

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2012
    Location
    India
    Posts
    307
    Vote Rating
    2
      0  

    Exclamation Blur() not fired when pressing tab

    Hi
    Do you have fix for this issue in Extjs 4.1.3

Posting Permissions

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