Home > Web Front-end > JS Tutorial > Methods for multi-line query on ext list page_YUI.Ext related

Methods for multi-line query on ext list page_YUI.Ext related

WBOY
Release: 2016-05-16 18:31:25
Original
1028 people have browsed it

First, there must be a tbar object

in Ext.grid.GridPanel and then add listeners: {
'render': function() {
bbar2.render(this.tbar); // add one tbar
//twoTbar.render(this.tbar); //add two tbar
// threeTbar.render(this.tbar); //add three tbar
}
}

You can see that there is bbar2 here so you can add a lot of bars

Copy the code The code is as follows:

this.bbar2 = new Ext.Toolbar({
renderTo: grid.tbar,
items:[]})


Of course There is a little trick. You can use "-" as the separator to represent

and it will be ok.
Related labels:
ext
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template