For example: When loading the first page,
code:
store.load({params:{start:0,limit:pageSize,Keyword:Ext.getCmp('input_name').getValue()}});
When click next Page (previous page) with parameters
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
}
Statement: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