views:

45

answers:

0

Hello. Is there any possibility to get an event when you click on the tab?

var buttons = [
    {
        title: 'Home',
        iconCls: 'home'
    }, {
        title: 'Search',
        iconCls: 'search'
    }
];

var panel = new Ext.TabPanel({
        fullscreen: true,
        cls: 'panel',
        ui: 'dark',
        tabBar: {
                    dock: 'bottom',
                    layout: {
                       pack: 'center'
                    },
                },
        items:buttons
    });

PS Google Translte, sorry.