I was almost at the end of my nerves and I even considered to abandon ExtJs and go back to simple html where everything was much easier :)
Then ... like so many times before it "just started" to work !!! :) Code that works is provided below.
var my_values = [ ['one'], ['two'], ['three'], ['four'], ['five'] ]; var numberField = new Ext.form.ComboBox({ fieldLabel: 'Number', hiddenName: 'number', store: new Ext.data.SimpleStore({ fields: ['number'], data : my_values }), displayField: 'number', typeAhead: true, mode: 'local', triggerAction: 'all', emptyText:'Choose number...', selectOnFocus:true });
Email this
Hits: 8341
Comments (3)

Write comment


