using same item in multiple tab in extjs
问题 how to reuse the same item in multiple tab so that when that item change, other tab will reflect the changes i try this code but the label in first tab not shown: var label = Ext.create('Ext.form.Label', { text : 'mylabel' }); Ext.onReady(function() { Ext.create('Ext.tab.Panel', { width : 200, height : 200, renderTo : Ext.getBody(), items : [{ title : 'tab1', items : [label, { xtype : 'button', handler : function() { label.setText('changed from tab1'); } }] }, { title : 'tab2', items : [label