Home > Web Front-end > JS Tutorial > ExtJS toolbar paging event parameters_extjs

ExtJS toolbar paging event parameters_extjs

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 18:33:06
Original
933 people have browsed it

For example: When loading the first page,
code:

Copy code The code is as follows:

store.load({params:{start:0,limit:pageSize,Keyword:Ext.getCmp('input_name').getValue()}});

When click next Page (previous page) with parameters
Copy code The code is as follows:

doLoad: function (start){
record_start = start;
var o = {}, pn = this.paramNames;
o[pn.start] = start;
o[pn.limit] = this. pageSize;
var Keyword=Ext.getCmp('input_name').getValue(); //Get parameters
o['Keyword'] = Keyword;//Write parameters
this.store.load ({params:o});//Loading
}
Related labels:
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