If you use any of my components and you like them and you want to thank me, then please consider a donation. Any amount is welcome :).
This plugin adds small close all closable tabs button to the right or to the left, depending on configuration, of tab panel tab strip element. CSS files for default (blue), gray and access theme are included. The plugin is desgined to work with tab panels having tabPosition configuration option set to top only.
var tab_panel = new Ext.TabPanel({
...
plugins : {
ptype : 'Ext.ux.maximgb.CloseAllTabsButton',
buttonPosition : Ext.ux.maximgb.CloseAllTabsButtonPosition.RIGHT // That's the default, so you can skip it.
}
...
});
Maxim Bazhenov (aka MaximGB), thanks to John Badger who constantly asked me to implement it,
if you have either a reasonable enchancement proposal
or a job offer (I am a freelancer) or both feel free to
contact me via ExtJS's forums
ux.maximgb.CloseAllTabsButton.zip