From c788bd7c95f38cd67f3030c5d90a8251ccbaacb4 Mon Sep 17 00:00:00 2001 From: deepug Date: Mon, 31 Aug 2015 16:07:16 -0400 Subject: [PATCH] Update jquery.bootgrid.js Adding an option to change the page size(row count) from out side. --- dist/jquery.bootgrid.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/jquery.bootgrid.js b/dist/jquery.bootgrid.js index 3a6163a..9590e46 100644 --- a/dist/jquery.bootgrid.js +++ b/dist/jquery.bootgrid.js @@ -234,6 +234,7 @@ response = that.options.responseHandler(response); that.current = response.current; + that.rowCount = response.rowCount; update(response.rows, response.total); }, error: function (jqXHR, textStatus, errorThrown) @@ -2025,4 +2026,4 @@ // ============ $("[data-toggle=\"bootgrid\"]").bootgrid(); -})(jQuery, window); \ No newline at end of file +})(jQuery, window);