【发布时间】:2014-03-07 10:54:04
【问题描述】:
在这里,我想在不重新排列选项卡顺序的情况下使用“选项卡 B”加载我的窗口。通常它会使用“tab A”加载。
请解决我的问题。
这是我的源代码:
Ext.define('test.view.tView', {
extend: 'Ext.tab.Panel',
xtype: 'main',
requires: [
'Ext.TitleBar'
],
config: {
tabBarPosition: 'bottom',
items: [
{
title: 'tab A',
styleHtmlContent: true,
scrollable: true,
},
{
title: 'tab B',
pressed : true,
items: [{
xtype : 'button',
ui : 'round',
text : 'my'
}]
},
{
title: 'tab C',
},
{
title: 'tab D',
}
]
},
});
【问题讨论】:
标签: extjs tabs sencha-touch loading tabbar