Jquery datatable pagination showing all rows pageLength is deinfed code example
Example: jquery for table Show entries
$(document).ready(function() {
$('#example').DataTable( {
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]]
} );
} );