首先在Ext.grid.GridPanel中必须要有tbar对象
然后要增加listeners: {
'render': function() {
bbar2.render(this.tbar); //add one tbar
//twoTbar.render(this.tbar); //add two tbar
// threeTbar.render(this.tbar); //add three tbar
}
}
可以看到这里有bbar2这样就可以增加很多bar了
复制代码 代码如下:
this.bbar2 = new Ext.Toolbar({
renderTo: grid.tbar,
items:[]})
当然 有个小技巧 分隔符可以用“-”来表示
这样就ok了
然后要增加listeners: {
'render': function() {
bbar2.render(this.tbar); //add one tbar
//twoTbar.render(this.tbar); //add two tbar
// threeTbar.render(this.tbar); //add three tbar
}
}
可以看到这里有bbar2这样就可以增加很多bar了
复制代码 代码如下:
this.bbar2 = new Ext.Toolbar({
renderTo: grid.tbar,
items:[]})
当然 有个小技巧 分隔符可以用“-”来表示
这样就ok了
标签:
ext,多行查询
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“ext 列表页面关于多行查询的办法”评论...