當服務器沒有對數據進行分頁時,前端頁面設計又要求進行分頁,要分開來設置。
服務端分頁:
responseHandler: function(data){ return data.response; },
客戶端分頁,需要指定到rows:
sidePagination : "client", responseHandler: function(data){ return data.response.rows; },
當服務器沒有對數據進行分頁時,前端頁面設計又要求進行分頁,要分開來設置。
服務端分頁:
responseHandler: function(data){ return data.response; },
客戶端分頁,需要指定到rows:
sidePagination : "client", responseHandler: function(data){ return data.response.rows; },
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。