Your selector for the selectCategoryItemTap
listener appears to be incorrect. You can fix it by either using the xtype
of the view, or by setting another ref
that points to the list.
By xtype
:
control: {
'selectcategorypanel list': {
itemtap: 'selectCategoryItemTap'
}
}
By ref
:
refs: {
selectCategoryPanelList: 'selectcategorypanel list'
},
control: {
selectCategoryPanelList: {
itemtap: 'selectCategoryItemTap'
}
}
Right now the 'selectCategoryPanel list'
selector isn't actually pointing to anything that Sencha can find, so it won't be able to attach the listener to it.