http://blog.csdn.net/foart/article/details/9171521

——————————————————————————————————————————————————

var grid = $('#datagrid');
var options = grid.datagrid('getPager').data("pagination").options;
var curr = options.pageNumber;
var total = options.total;
var max = Math.ceil(total/options.pageSize);

posted on 2015-07-02 16:36  网络大豆  阅读(251)  评论(0编辑  收藏  举报