-
27 Oct 2009 3:00 AM #1
why change event fired on combo blur not on item selection.
why change event fired on combo blur not on item selection.
Hi,
I am using extjs combo. Registered for combo's 'change' listener.
Problem is this change event is not fired when I select another item of combo. Only when combo focus is lost the change event is triggred.Code:change : ( Ext.form.Field this, Mixed newValue, Mixed oldValue )
Change event works differently then select event in this regard. I need to get old and new selected values which is not available in select event.
Can any one through some light.
Thanks..
-
27 Oct 2009 3:21 AM #2
That's how inputs in HTML work.
If you want the select event, use the select event.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
27 Oct 2009 8:21 PM #3
Thanks for your reply.
My issue is
Basically on selection of new item I have to update UI which now is happening on blur and select event does not provides old value and new value as parameters to listener function. I will have to manage previous value set variable.
-
28 Oct 2009 12:18 AM #4
The startValue property of the field is what you want to look at. This will be documented in the next release.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642


Reply With Quote