Bug: Show Entries does not refresh the table rows and pagination

Bug: Show Entries does not refresh the table rows and pagination

techvineettechvineet Posts: 2Questions: 1Answers: 0

I have initiallised Datatable like this:-

$(selector).dataTable({
  "displayLength": 1,
  "lengthMenu": [ [1, 5, 10, 25, 50, 100, -1], [1, 5, 10, 25, 50, 100, "All"] 
});

and I have like 6 rows in this dataTable.

Here is the issue:
When I select to show 5/10/25/50/100 entries, it works tables rows and pagination gets updated. Now, select 10 rows per page and click on pagination link other than 1, so I selected 3, the tables rows and pagination updates. Till now it is working fine.

Now, if I select 25 rows per page, the pagination link disappear and ideally all 6 records should come but this is not the case.

Can anybody help me with this issue.

Answers

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin

    Can you link to a test page showing the issue (per the forum rules) please? What you describe should work okay.

    Allan

  • techvineettechvineet Posts: 2Questions: 1Answers: 0

    When I updated my Datatables version from 1.9.x to 1.10.2, the problem disappeared.

This discussion has been closed.