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显示为两行
最新推荐文章于 2021-01-23 16:44:58 发布
本文介绍如何使用 Ext JS 创建顶部和底部工具栏组件,包括文本字段和按钮的基本配置。
775

被折叠的 条评论
为什么被折叠?



