Hello,
how to add tabPanel to a panel
I created a panel with 'border' layout and in the north area i add two panel. in one of them i need to add a tabPanel.
I add the tabPanel with the code like this:
var p = Ext.getCmp('northArea_tabs');
var _tab = Ext.create('Ext.tab.Panel', {
items:[
{title: 'tab1'},
{title: 'tab2'}
]
})
p.add(_tab);
but the tabPanel is not displayed.
Anyone can tell me what happened here?
Thanks in advance.
how to add tabPanel to a panel
Aucun commentaire:
Enregistrer un commentaire