Easyui Treegrid 分页解决方案

View Code
 1 $('#grid').treegrid({
 2         ...
 3         pagination: true,
 4         ...
 5 });
 6 
 7 
 8 $('#grid').datagrid("getPager").pagination({
 9     total: count, 
10     pageList: [pagesize], 
11     onSelectPage: function (pageNumber, pageSize) {
12         $(this).pagination('loading');
13         //
14         $(this).pagination('loaded');
15     }
16 });

 

posted @ 2012-05-15 13:44  遛狗云端  阅读(2746)  评论(0编辑  收藏  举报