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 :).

Ext.ux.maximgb.CloseAllTabsButton - Close all tabs button tab panel pluging for ExtJS 3.x, demo page.

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.

How to use

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.
    }
    ...
});
 

Examples:

Licence.

BSD license

Author.

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

Download

ux.maximgb.CloseAllTabsButton.zip


Change history