1
я добавил поплавок контейнера и внутри него я добавил компонент, как показано ниже,События не увольняют на плавающий контейнер или компонент в ExtJS
var me = this;
var lastTab = me.getLastTabInTabPanel();
var iconContainer = me.down('#iconContainer');
if (iconContainer == null) {
iconContainer = Ext.create('Ext.panel.Panel', {
id: 'iconContainer',
floating: true,
shadow: false,
listeners: {
click: this.valIconClicked,
scope: this
},
style: 'margin-left:280px;',
items: [
{
xtype: 'component',
id: 'valIcon',
cls: 'valuation-tool-specview',
height: 33,
width: 26,
listeners: {
click: this.valIconClicked,
scope: this
}
}
]
});
}
iconContainer.showBy(lastTab, 'tl-tr');//, [-2, 0]
нажмите событие не уволят, я пропустить что-нибудь?