From 3f214143eb0ffa5e578d78f31875675bb46ab452 Mon Sep 17 00:00:00 2001 From: Frank van Os Date: Thu, 28 Jan 2016 10:45:56 +0100 Subject: [PATCH] ADDED remove pagination buttons --- pagination/dynamic_pagination.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pagination/dynamic_pagination.js b/pagination/dynamic_pagination.js index 985807c..6675b77 100644 --- a/pagination/dynamic_pagination.js +++ b/pagination/dynamic_pagination.js @@ -199,6 +199,9 @@ $.fn.dataTableExt.oPagination.dynamic_pagination = { $(paging).find('input').css('display','none'); } else if(iPages > that.maxNormalPages && iPages > that.maxSelectPages){ + // Remove paging buttons + $('#'+oSettings.sTableId+'_pagination_controls').find('a.paginate_button').remove(); + var input = $(paging).find('input'); input.css('display','inline'); if(that.bootstrapTooltip){