【发布时间】:2014-01-23 09:37:54
【问题描述】:
在论坛中查找了类似的问题。
Overflow button does not work twice when a button group is among the components in the overflow.
这个问题解决了吗?
我的工具栏代码 sn-p 如下所示:
{
id: 'mypanel',
xtype: 'panel',
autoScroll: true,
region: 'center',
layout: 'border',
dockedItems:[{
xtype: 'toolbar',
dock: 'top',
enableOverflow: true,
items:[
{
xtype: 'buttongroup',
region: 'north',
// minHeight: 50,
//autoScroll: true,
items: getButtons4()
},
{
xtype: 'buttongroup',
region: 'north',
// minHeight: 70,
//autoScroll: true,
items: getButtons3()
},
{
xtype: 'buttongroup',
region: 'north',
//minHeight: 70,
//autoScroll: true,
items: getButtons1()
},
{
xtype: 'buttongroup',
region: 'north',
//minHeight: 70,
//autoScroll: true,
items: getButtons2()
},
{
xtype: 'buttongroup',
region: 'north',
title: 'Others',
//minHeight: 70,
//autoScroll: true,
items: getOtherButtons()
}
]
}],
items: [
{
xtype: 'tabpanel',
id: 'mytabpanel',
activeTab: 0,
layout: 'fit',
region: 'center',
disabled: 'true',
items:[
{
xtype: 'gridpanel',
height : '80%',
width : '100%'
},
{
xtype: 'gridpanel',
height : '80%',
width : '100%'
}
]
}
]
}
【问题讨论】:
标签: extjs extjs4.1 toolbar buttongroup overflow-menu