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 4 years ago

Try use this:

$(document).ready(function () {
        dom: '<"top"iflp<"clear">>rt'

Aj020 free answered 4 years ago

Is their any way to show no of pages at top

Marta Wierzbicka staff answered 5 years ago


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


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.


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



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