I’m using the jQuery Datatables component and I need to retrieve the number of rows to display and the current page number.
Thanks.
I’m using the jQuery Datatables component and I need to retrieve the number of rows to display and the current page number.
Thanks.
2
Answers
I found the solution: to retrieve the current page number:
to go to a specific page:
datatable is very simple ,
call jquery.dataTables.min.js and jquery.dataTables.min.css
then datatable function in jquery call like below,
$(document).ready(function () {
$(‘#table_first_last_numbers’).DataTable({
});
});