$('#table'). DataGrid ({URL:'/get/data/path/to/your/server', PageNumber:2, PageSize:Ten,...}); When hand set PageNumber>=2, check the network request twice, and the second request pagenumber = =1; second, reason: Jquery.easyui.min.js1.3.4Of7821-7828line code; Because the page control initializes the parameter total==0, pagenumber = =1, and the first request for the second page of the parameter and the control initialization parameters inconsistent, led to the request again: _5DC (_545); This code is intended to solve a problem: when the page refreshes, the number of changes to be asked, need to update the pagebar of the display; third, the solution:7822Line (Please note that the version1.3.4jquery.easyui.min.js): _54a.pagination ("Refresh"{total:data.total}); modified to: _54a.pagination ("Refresh", {pagenumber:opts.pagenumber| |_54b.pagenumber,total:data.total}); OK,~
jquery easyui 1.3.4 DataGrid pagenumber Setup leads to the solution of two requests