Topic: MDBDataTable Pagination buttons aren't being rendered when component mounts.
Amware free asked 4 years ago
Expected behavior: On initial page render the page number buttons should be at the bottom of the table and ready to click and navigate.
Actual behavior: On page render, when the component mounts the page buttons are not displaying. Just the previous and next buttons. Yet when the entry number is changed the page buttons show.
Note: I will provide any additional details as I am writing this on my phone.
Resources: Will add soon
Piotr Glejzer staff answered 4 years ago
Hello,
Yes, we know about this bug. I already fixed this yesterday and it's working now. It will be available in the next version. Sorry about that. If you have access to our gitlab acc you can see it on the branch pagination-free
. Have a nice day.
Best regards,Piotr
Amware free commented 4 years ago
Do you have a link so I can check it out?
Piotr Glejzer staff commented 4 years ago
https://git.mdbootstrap.com/mdb/react/re-pro/blob/fix/pagination-free/src/components/DataTable/DataTable.js - line from 46 to 50
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.24.0
- Device: Dell
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No