ExtJS 2.x 的多行工具条实现
Tuesday, 17. November 2009, 02:12:34
tbar: [{
... ...
}, {
... ...
}]
这样实现的工具条只有一行。
有时候工具条按钮比较多,一行放不下,需要加行。
简单的做法是:
tbar: new Ext.Panel({
border: false,
items:[{
xtype: 'toolbar',
items: [
... ...
]
}, {
xtype: 'toolbar',
items: [
... ...
]
}, {
xtype: 'toolbar',
items: [
... ...
]
}]
})








