DataTables pagination number button do not display properly


Topic: DataTables pagination number button do not display properly

Unicomp pro asked 6 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


Marta Szymanska staff pro premium answered 6 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


Marta Szymanska staff pro premium answered 6 years ago

Hi,

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

Best, Marta


Aj020 answered 5 years ago

Is their any way to show no of pages at top


Grzegorz Bujański staff answered 5 years ago

Try use this:

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

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
  • User: 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