Perhaps you need to use the itemId
property in conjunction with Ext.ComponentQuery.query()
, something like
{
xtype: 'combobox',
width: 350,
store: 'price.Book',
name: 'books',
itemId: 'booksCombo'
}
...
change: function(thisCombo) {
var otherCombo = Ext.ComponentQuery.query('#booksCombo')[0];
alert(otherCombo.name);
}