BootStrap-table 客户端分页和服务端分页的区别

当服务器没有对数据进行分页时,前端页面设计又要求进行分页,要分开来设置。

服务端分页:

responseHandler: function(data){
    return data.response;
},

客户端分页,需要指定到rows:

sidePagination : "client",
responseHandler: function(data){
     return data.response.rows;
},

 

posted @ 2016-12-19 10:15  facial  阅读(4661)  评论(0编辑  收藏  举报