datatable stop showing the data in sql in page 15

datatable stop showing the data in sql in page 15

kurumi3453kurumi3453 Posts: 1Questions: 1Answers: 0
edited February 2022 in DataTables

that my code:

$(document).ready(function () {
$('#example').DataTable({
order: [[ 2, "desc" ]],
responsive: true,
pageLength: 20,
fixedColumns: true,
searching: true,
info: false,
oLanguage: {"sZeroRecords":"", "sEmptyTable":""},
dom: 'frtip',
language: {
url: 'he.json'}
});

    });

Answers

  • kthorngrenkthorngren Posts: 21,261Questions: 26Answers: 4,934

    datatable stop showing the data in sql in page 15

    You haven't provided much information. If I understand correctly Datatables is showing only 15 pages where you expect more. Based on what you have provided I assume you are loading the table data into the DOM then initializing Datatables. The place to start is to verify the table loaded into the DOM as all the rows as expected.

    In order to help debug we will need a link to your page or a test case replicating the issue so we can see what is happening.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

Sign In or Register to comment.