<table id="dg" title="My Users" class="easyui-datagrid" style="width:700px;height:250px" url="http://localhost:8080/s2sh_framework/json/user/list" toolbar="#toolbar" pagination="true" rownumbers="true" fitColumns="true" singleSelect="true"> <thead> <tr> <th field="username" width="50">用户名</th> <th field="truename" width="50">真名</th> <th field="email" width="50">邮箱</th> </tr> </thead> </table> <div id="toolbar"> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="newUser()">New User</a> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="editUser()">Edit User</a> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="destroyUser()">Remove User</a> </div>
点击下一页 post请求[page第几页 , rows一页多少条数据],那我现在不想带这两个参数,我想修改参数为page是pageNo,也想修改rows为pageSize,不知道可以不?
为什么我要修改rows呢?因为post请求给服务端的参数rows 和 响应返回的参数rows 同名了,我想修改之