TabPanel

Example of a TabPanel with two tabs:

var tabs = new Ext.TabPanel({
    border:false,
    resizeTabs:true,
    enableTabScroll:true,
    activeItem:0,
    defaults:{
        autoScroll:true
    },
    items:[{
        title: 'Product Inventory'
    },{
        title: 'New Product'
    }]
});