Clone only one Paging Button
Clone only one Paging Button
Beanek
Posts: 2Questions: 1Answers: 0
Hello,
is it possible to just clone one paging button outside the maintable ? I know how to di it for the whole pagination
$(document).ready(function() {
$("#example").dataTable();
$("#mynewdiv").append($(".dataTables_paginate"));
} );
but is there a way to do it only for the last button ? Something like that.
$("#mynewdiv").append($(".dataTables_paginate.last"));
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
There isn't a way of doing exactly that, but you can achieve the same effect using the
page()
method. e.g.:in a click event handler for your button.
Allan
Thank you Allan,
It's exactly what i was searching for.