-
2 Mar 2010 8:57 PM #1
Ext.form.comboBox triggerAction
Ext.form.comboBox triggerAction
I am using a simple comboBox with triggerAction: 'all' , however the comboBox still filters. It even filters in the examples page. The documentation says this will remove filtering, so why does it filter?
http://www.extjs.com/deploy/dev/exam...rm/combos.html
Code:var ds3 = new Ext.data.JsonStore({ url: 'getDivisions.php', fields: [ {name: 'id_Divisions', type: 'int'}, {name: 'name_Divisions'} ] }); new Ext.form.ComboBox({ plugins: [ Ext.ux.FieldLabeler ], fieldLabel: 'Division', hiddenName: 'id_Divisions_add', valueField: 'id_Divisions', mode: 'local', triggerAction: 'all', store: ds3, displayField: 'name_Divisions' })
-
2 Mar 2010 10:30 PM #2
Just a shot in the dark, did you test this without the plugin ? Also, did you try setting typeAhead to false?
-
3 Mar 2010 12:47 AM #3
In that examples page, you click the trigger, and it removes any filtering caused by typing, and shows the whole list of states.
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
-
3 Mar 2010 6:49 AM #4
Okay, It seems a little buggy though. If I click the state during the filtering, instead of clicking the trigger again right away, it can take many clicks to get the combobox to remove the filtering.





Reply With Quote