PDA

View Full Version : combo box event listener with setVal



danaxelrod
18 Jan 2011, 10:28 AM
With linked combo boxes, I'm trying to create an event listener that responds to a change in it's set value which is changed by a another function. Select and change listeners don't seem to respond. Thanks.
Here is the function that updates the combo box value:

Ext.getCmp('nameBox').setValue(displaynames.getAt(0).get('id'));

18 Jan 2011, 12:25 PM
With linked combo boxes, I'm trying to create an event listener that responds to a change in it's set value which is changed by a another function. Select and change listeners don't seem to respond. Thanks.
Here is the function that updates the combo box value:

Ext.getCmp('nameBox').setValue(displaynames.getAt(0).get('id'));


what do you mean by "don't seem to respond" ?? Are you saying that when you select a value on combo box A, the select event does not get fired?