Hi All,
I tried auto ssuggestion/completion in Ext using combobox. But its not coming/working for me. I am using IE6 and Mozilla 3.2. Both have the same effects. The first Option is alone selected. Even if i have lot of values starting by same character.
HTML Code:
Ext JS Code:
Any suggestions would be helpful. Thanks in Advance.
Thanks and Regards
Ramanan Kalirajan
I tried auto ssuggestion/completion in Ext using combobox. But its not coming/working for me. I am using IE6 and Mozilla 3.2. Both have the same effects. The first Option is alone selected. Even if i have lot of values starting by same character.
HTML Code:
Code:
<div id="pmnHolder" />
Code:
Ext.onReady(function(){
Ext.namespace('Ext.pmndata');
Ext.pmndata.pmn=[
['sample1', 'sample1'],
['sample2', 'sample2'],
['sample3', 'sample3']];
var store1 = new Ext.data.SimpleStore({
fields: ['pmn'],
data : Ext.pmndata.pmn
});
combo1 = new Ext.form.ComboBox({
store: store1,
displayField:'pmn',
id: 'pmnField',
mode: 'local',
emptyText:'Select a pmn...',
width:128,
selectOnFocus:true,
typeAhead: true,
triggerAction: 'all',
minChars : 1,
renderTo: pmnHolder
});
});
Thanks and Regards
Ramanan Kalirajan
Comment