Disable Pagination when Search
Disable Pagination when Search
pettedemon
Posts: 38Questions: 6Answers: 0
Hi,
I have the server side database.
at default the lengthMenu is 50.
So when I search I want disable the pagination.
is it possible?
thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
So, when I search a string I will see all the results, without the default pagination
Hi @pettedemon ,
You can't disabled paging altogether, but you can do something like this here and make it very large.
Hope that helps,
Cheers,
Colin
Hi, thanks!
But how can enable the server side processing in your script?
` $('#sorting').DataTable( {
"processing": true,
"serverSide": true,
`
You can use one of the server side JS BIN examples here:
https://datatables.net/manual/tech-notes/9#Server-side-processing
Kevin