PDA

View Full Version : [CLOSED] Prevent user from selecting the highlighted item Bound list by TAB



UnifyEducation
Sep 26, 2014, 6:24 PM
Hi,

i have a question related to a previous thread http://forums.ext.net/showthread.php?28176-CLOSED-Bound-list-listeners.
in fact , i just wanted to to prevent user from selecting the highlighted item by clicking enter and TAB, so first i tried to remove tab event with changing key: Ext.EventObject.ENTER to key: Ext.EventObject.TAB but it did not work.

Could you help me to prevent user from selecting the highlighted item by clicking tab as well.

Daniil
Sep 27, 2014, 8:55 AM
Hi @UnifyEducation,

There is the SelectOnTab property on the ComboBox.
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.ComboBox-cfg-selectOnTab

Does it work for you?

UnifyEducation
Sep 29, 2014, 8:30 AM
Hi Daniil,

yes it works, thanks.