PDA

View Full Version : tabPanel add event "tabTap" on his tabBar when



Valorix
31 Aug 2011, 9:24 AM
Hello,

I trying to add an event on tabBar of a tabPanel in addition to the default event :

mainApp = new Ext.TabPanel({
tabBar: {
id:'root',
dock: 'bottom',
ui: 'gaultmillau',
layout: {
pack: 'center'
},
onTabTap: function(tab){
//Do something
}
}
});

When I do that it kill the default event, how resolve that please?