sween agarwal
asked on
pagination not working
Hello Sir,
Actually i write simple jquery that is:
<script>
$(document).ready( function () {
$('#myTable').DataTable();
} );
</script>
where myTable is id of html table. all functionality works good but show entries and pagination not working,not even button is clickable.
I am using php here.
Here is its screenshot:
prob.png
Actually i write simple jquery that is:
<script>
$(document).ready( function () {
$('#myTable').DataTable();
} );
</script>
where myTable is id of html table. all functionality works good but show entries and pagination not working,not even button is clickable.
I am using php here.
Here is its screenshot:
prob.png
Your using https://datatables.net/ and it is very difficult to trouble shoot from an image. The best thing to do is create a test page for us to look at. However, from the image, it looks like that is all the data you have. So start by verifying your data (the number of rows)
go to jsfiddle.net
create a simple demo page using your html
create a simple demo page using your html
Please add greater than ten or more data. then check pagination.
I am checking in given screenshot there are only 5 records, please add more than 10 OR please create jsfiddle then we can check your issue
thanks
thanks
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.