Pagination control outside datatable

datatable, jquery

Solution

Sure - here's your solution

$(document).ready(function() {
  $("#example").dataTable();
 //$("#NewPaginationContainer").append($(".dataTables_paginate").clone(true));
  $("#NewPaginationContainer").append($(".dataTables_paginate"));
} );

Problem

I am generating a datable with standard options, but I want to move the pagination control to another `<div>` outside sDom like ``` <div class="pagination">pagination</div> ``` So far I found how to copy it looks like: ``` "fnInitComplete": function(oSettings){ var $pagination = $('.dataTables_paginate').clone(true, true); $('.navbar-inner').append($pagination); } ``` Is there a way to do it?

Original source