Topic: DataTables pagination number button do not display properly

Unicomp pro asked 5 years ago


Using DataTable control, I found a peculiar issue. When I change datatable page by clicking on the pagination number, on the next page instead of number I see an empty white square. If I click anywhere on the screen then the number shows up properly. If I use the FIRST or LAST buttons the numbers are displayed properly.

Incorrect behavior

Correct behavior


Grzegorz Bujański staff answered 3 years ago


Try use this:

$(document).ready(function () {
    $('#dtBasicExample').DataTable({
        dom: '<"top"iflp<"clear">>rt'
     )};
    $('.dataTables_length').addClass('bs-select');
});

Aj020 free answered 3 years ago


Is their any way to show no of pages at top


Marta Wierzbicka staff answered 5 years ago


Hi,

does this problem exist in your project updated to the newest version? Because I don't see one.

Best, Marta


Marta Wierzbicka staff answered 5 years ago


Hi,

thank you for noticing this problem. We will fix that as soon as possible and we will inform about it in our changelog.

Best, Marta



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.6.1
  • Device: PC
  • Browser: Chrome
  • OS: Ubuntu 18.x
  • Provided sample code: No
  • Provided link: No