Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9095 in a recent build.
  1. #1
    Touch Premium Member
    Join Date
    Sep 2011
    Location
    Tamworth, NSW, Australia
    Posts
    667
    Vote Rating
    113
    marc.fearby is just really nice marc.fearby is just really nice marc.fearby is just really nice marc.fearby is just really nice marc.fearby is just really nice

      0  

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

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,656
    Vote Rating
    904
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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.

Thread Participants: 1