1 Ext.Loader.setConfig({enabled: true});
3 Ext.Loader.setPath('Ext.ux', '../ux/');
10 Ext.onReady(function() {
13 var tabPanel = Ext.create('Ext.tab.Panel', {
14 renderTo: Ext.getBody(),
18 bodyStyle: 'padding:5px',
19 plugins: Ext.create('Ext.ux.TabReorderer'),
37 title: 'Non Reorderable',
38 html : "I can't be moved",
59 title: 'Tab ' + tabCount,
60 html : 'Content for tab ' + tabCount,
65 text: 'Toggle tabs enabled',
67 tabPanel.tabBar.items.each(function(tab) {
76 text: 'Remove 2nd item',
78 var item = tabPanel.items.items[1];
81 tabPanel.remove(item);