I have created a dataTable and filling data inside the table using json object. My problem is in pagination i am not getting the total number of pages .
$('#myTable').dataTable({
"bPaginate" : true,
"bLengthChange" : false,
"bFilter" : false,
"bSort" :true,
"bInfo" : false,
"bAutoWidth" : false
});
Please help me in this issue... Thanks in advance....
Are you missing the, "Showing 1 to x of n entries" below the table? If so try reading this:
http://datatables.net/release-datatables/examples/basic_init/dom.html
If this isn't the problem, can you post a picture of what is wrong? DataTables should (by default) display the total number of pages from a JSON object
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.