From 0d4180a63f28c840a08e4ddd48e77b0a5a6baa0b Mon Sep 17 00:00:00 2001 From: John Costanzo Date: Fri, 12 Feb 2016 11:04:18 -0500 Subject: [PATCH] Adding support to supply a div to put per page select --- stream_table.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stream_table.js b/stream_table.js index eb5e60a..d4b2ed3 100644 --- a/stream_table.js +++ b/stream_table.js @@ -422,7 +422,12 @@ html.push(''); html.push(''); - $(this.main_container).before(html.join('')); + + if(typeof this.paging_opts.per_page_container != 'undefined') { + $(this.paging_opts.per_page_container).html(html.join('')); + } else { + $(this.main_container).before(html.join('')); + } }; _F.renderByPerPage = function(per_page){