Using a ComboBox as an auto-complete component, like Google suggestion, is not able to enter characters under IE, it is not editable, and Firefox and Chrome are displayed normally. I asked this question in 2 ExtJS QQ Group, did not solve, do not know is not still do not want to answer. I'm here to share the solution.
This problem bothered me a lot of time, on the internet always search for no answer. Finally, Google found a solution.
Method 1: Add the following code to your Ext.onready Method!
[HTML]View Plaincopy
- Ext.form.TriggerField.override ({
- Afterrender:function () {
- Ext.form.TriggerField.superclass.afterRender.call (this);
- var y;
- if (Ext.isie &&!this.hidetrigger && this.el.getY ()! = (y = This.trigger.getY ())) {
- This.el.position ();
- This.el.setY (y);
- }
- }
- });
Method 2:
Set the Hidetrigger property of the ComboBox to False
[HTML]View Plaincopy
- Hidetrigger:false
First I searched for this blog
http://vegdave.wordpress.com/2009/01/06/autocomplete-fix-for-ext-combobox-on-ie/# comment-14168
Then this blog gives a workaround for the link address
http://www.extjs.com/forum/showthread.php?p=204817