Topic: DataTables pagination number button do not display properly
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.
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
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');
});
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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