View Full Version : Extjs 4.2 combo - clear listeners from the BoundList

13 Aug 2015, 6:10 PM
How can I remove the listConfig listeners from my ComboBox:

var combo =Ext.create('Ext.form.ComboBox',{ valueField :'id',
store: store,
displayField :'description',
editable :true,
autoSelect :false,
forceSelection :false,
allowBlank :true,
typeAhead :false,
mode :'local',
listConfig :{
listeners :{
itemclick :function(){
console.log('listConfig listeners itemclick');}
});I tried combo.listConfig.clearListeners(), but the listConfig member here seems just to be the configuration (no methods). I need access to the actual Ext.view.BoundList for the Combo, so I can call clearListeners() on it, but there doesn't seem to be a getter for it?

13 Aug 2015, 6:35 PM
Probably you are looking for getPicker() ?