diff --git a/js/widgets/widget-pager.js b/js/widgets/widget-pager.js index 9c564f30..981af159 100644 --- a/js/widgets/widget-pager.js +++ b/js/widgets/widget-pager.js @@ -192,7 +192,6 @@ tsp = ts.pager = { p.ajax = false; // Regular pager; all rows stored in memory c.$table.trigger("appendCache", [{}, true]); - tsp.hideRowsSetup(table, c); } }, @@ -202,6 +201,10 @@ tsp = ts.pager = { tsp.bindEvents(table, c); tsp.setPageSize(table, 0, c); // page size 0 is ignored + if (!p.ajax) { + tsp.hideRowsSetup(table, c); + } + // pager initialized p.initialized = true; p.initializing = false;