How can I attach an react to user clicking on tabs in Ext.TabPanel
问题 When I want to react to the user selecting a row on a grid, I use this: var grid = new Ext.grid.GridPanel({ region: 'center', ... }); grid.getSelectionModel().on('rowselect', function(sm, index, rec){ changeMenuItemInfoArea(menuItemApplication, 'you are on row with index ' + index) }); how can I attach the same functionality to tabs? something like this: var modules_info_panel = new Ext.TabPanel({ activeTab: 0, region: 'center', defaults:{autoScroll:true}, listeners: { 'tabclick': function