PDA

View Full Version : Issue with onblur event



Muruga
27 Apr 2008, 10:23 PM
Hello there,

I am using onBlur event in Ext.Grid for a particular cell which has embedded a Combo Box on this. I want to validate the field, whenever the column loose the focus. So, I've return the code this way.


colModel = new Ext.grid.ColumnModel([{
header: "Currency",
dataIndex: 'currency',
width: 80,
editor: new Ed(new Ext.form.ComboBox({
typeAhead: true,
triggerAction: 'all',
transform:'gridcurrency',
lazyRender:true,
listeners: {
blur: function() {
alert("Blur Event is Firing...");
}
}
}))
}

The probelm is, onBlur is not firing very immediately as soon as, the field loose the focus. But, it is firing, when we click by mouse somewhere in the screen after the field loose the focus. This behaviour halt my work lot. Would somebody please assist me on this. It is bit critical part for me.

Thanks in Advance,

Muruga

evant
27 Apr 2008, 10:30 PM
Please don't post the same question under different user accounts 8-| It's not going to get your question answered any quicker.