例如:载入第一页的时候

代码:

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

 

当单击下一页(上一页)时带参数

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(); //获取参数

             o['Keyword'] = Keyword ;//参数写入

             this.store.load({params:o});//载入
        }

 

相关文章:

  • 2021-07-28
  • 2021-04-16
  • 2022-02-20
  • 2021-07-04
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-19
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案