How to count the entire rows of a datatable
How to count the entire rows of a datatable
lucifer3211
Posts: 6Questions: 3Answers: 0
I have a datatable which have a lot of dataset.My requirement is that i want to show all the data i.e the entire row count from the datatable.Suppose table have 50 records and perpage 10 are showing then onload i want to show 50 not 10 . This is my table
$("#jobSearchResultOutside").html(createTable+"</tbody></table>");
$('#jobSearchResultTable').dataTable({
responsive: true,
"scrollY": 500,
"scrollCollapse": true,
"jQueryUI": true,
"aaSorting": []
});
This discussion has been closed.
Answers
Set
pageLength
to -1.Allan