entries
entries
Theodorus
Posts: 7Questions: 3Answers: 0
Hello, how can I make it that I can start with 100 entries and select from 100 to ALL
My code is
$().ready(function() {
$.fn.dataTable.ext.errMode = 'throw';
var dataTable = $('#dataTable').DataTable({
ajax: '<?=$themes_path?>/test.php',
});
setInterval(function() {
dataTable.ajax.reload();
}, 5000);
});
Greetings Theo
This discussion has been closed.
Answers
https://datatables.net/reference/option/lengthMenu
You'll also need to use the
pageLength
option to set the initial length.Allan