var toolbarTop = Ext.create('Ext.toolbar.Toolbar', {
dock : 'top',
items : [{
xtype : 'textfield'
}, {
xtype : 'button',
text : '查询'
}]
});
var toolbarBottom = Ext.create('Ext.toolbar.Toolbar', {
style : {
borderTopWidth : '0px !important',
borderBottomWidth : '1px !important'
},
items : [{
xtype : 'textfield'
}]
});
me.dockedItems = [toolbarTop, toolbarBottom];
extjs中,tbar显示为两行
最新推荐文章于 2016-04-01 14:20:31 发布