0
我想在選項卡面板中有一個子選項卡。我做了一些答案,但不是很明白:(導航視圖tabpanel,子tabpanel
在這裏例如,我怎麼能heva選項卡3,4和5出現與頂部的後退按鈕,當我點擊標籤3?(我做的一切:表1 ,2名3滯留那裏...)
謝謝:)
Main.js:
Ext.define('MyApp.view.MyNavigationView', {
extend: 'Ext.navigation.View',
config: {
ui: 'light',
items: [
{
xtype: 'tabpanel',
title: 'MyTabPanel1',
layout: {
animation: 'fade',
type: 'card'
},
items: [
{
xtype: 'container',
title: 'Tab 1',
iconCls: 'info'
},
{
xtype: 'container',
title: 'Tab 2',
iconCls: 'info'
},
{
xtype: 'container',
title: 'Tab 3',
iconCls: 'info'
}
],
tabBar: {
docked: 'bottom'
}
},
{
xtype: 'tabpanel',
title: 'MyTabPanel',
items: [
{
xtype: 'container',
title: 'Tab 3',
iconCls: 'info'
},
{
xtype: 'container',
title: 'Tab 4',
iconCls: 'info'
},
{
xtype: 'container',
title: 'Tab 5',
iconCls: 'info'
}
],
tabBar: {
docked: 'bottom'
}
}
]
}
});
謝謝:)偉大工程:) – Huberte
你介意地介紹一下如何做samething上自來水項目或項目解密兄弟?例如,如果第三個選項卡有一個列表,則在單擊item2時單擊item1 tabpanel3時會顯示tabpanel2。謝謝。 – Huberte
我在這裏問過... http://stackoverflow.com/questions/12547472/navigationview-tabpanel-sub-tabpanel-when-clicking-an-item – Huberte