2014-10-09 7 views

답변

0

이와같이?

Ext.define('MyApp.view.MyTabPanel', { 
    extend: 'Ext.tab.Panel', 
    alias: 'widget.MyTabPanel', 
    itemId: 'MyTabPanel', 
    items: [ 
     { 
      xtype: 'panel', 
      title: 'Tab panel with the form', 
      items: [myPanel] //the form panel 
     } 
    ] 
}); 

//... 

Ext.widget('MyTabPanel', { renderTo: 'myDiv'});