例如:载入第一页的时候 代码: 复制代码 代码如下: 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});//载入 }
推荐阅读
js实现的真正的iframe高度自适应(兼容IE,FF,Opera)
找到了下面这个js 复制代码 代码如下: function SetCwinHeight(obj) { var cwin=obj; if (document.getElementById) { if (cwin && !window.opera) { if (cwin.contentDocument && cwin.contentDocument.body.offs>>>详细阅读
本文标题:ExtJS 工具栏 分页事件参数
地址:http://www.17bianji.com/kaifa2/JS/26934.html
1/2 1