0
我有tabpanel和2項內。我需要動態隱藏或顯示選項卡,並選擇只有一個項目,如果隱藏。如何動態隱藏和顯示tabpanel中的標籤
代碼示例
{
xtype : 'tabpanel',
items: [
{
xtype: 'container',
title : 'Group Info'
},
{
xtype: 'container',
title : 'Product Info'
},
]
}
因此,在某些情況下,我不得不隱藏標籤並只顯示產品信息容器...
什麼版本的Ext?你可以發佈你的代碼嗎?你有沒有搜索類似的問題? http://stackoverflow.com/questions/16494264/how-do-i-programmatically-hide-tab-in-the-tabpanel-extjs-3 – pherris 2014-09-03 14:24:58