Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82439

How get number of pagination of Datatable?

$
0
0

Hello, I have tried to save the page value of a datatable and then send it by POST.

I have been seeing information about it and I have found codes like these:

var table = $ ('# dataTables-example'). DataTable ();
      var info = table.page.info ();
      var index = info.page + 1;

and fnDrawCallback or fnInfoCallback

 ... However, it's taking me a while and I thought you guys might already have a code that does that and helps me.

I just need get the page value into an input hidden, then I already know what to do.

Thank you.


Viewing all articles
Browse latest Browse all 82439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>