MDBDataTable Pagination buttons aren't being rendered w


Topic: MDBDataTable Pagination buttons aren't being rendered when component mounts.

Alec Mingione pro premium asked a year 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 a year 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


Alec Mingione pro premium commented a year ago

Do you have a link so I can check it out?


Piotr Glejzer staff commented a year ago

https://git.mdbootstrap.com/mdb/react/re-pro/blob/fix/pagination-free/src/components/DataTable/DataTable.js - line from 46 to 50


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: React
  • MDB Version: 4.24.0
  • Device: Dell
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No