Topic: Datatables empty datasource pagination issue
Dave Moniz premium priority asked 3 years ago
Expected behavior
When the dataSource is empty both pagination arrows should be disabled
Actual behavior
When the dataSource is empty the next page arrow is NOT disabled and if you use it weird things happen
Resources (screenshots, code snippets etc.)
As always, I can provide sample code
Dave Moniz premium priority answered 3 years ago
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB5 1.0.0-beta5
- Device: PC
- Browser: Google Chrome
- OS: Arch Linux
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 3 years ago
Thank you for letting us know about this problem, we will take a closer look at that. Pagination component has
[prevButtonDisabled]
and[nextButtonDisabled]
inputs, you can try to use them as a work-around for now.Dave Moniz premium priority commented 3 years ago
Good to know, thanks.
Those are missing from the docs though, are there any other pagination customizations I can do? (that should also be added to the docs)
Grzegorz Bujański staff commented 3 years ago
These inputs are created to exchange information between components. Therefore, we did not include them in the documentation. We will discuss in the team, the possibility of adding it to the documentation.
Dave Moniz premium priority commented 3 years ago
This is not resolved as of the first stable release MDB5 1.0.0
Arkadiusz Idzikowski staff commented 3 years ago
@Dave Moniz The fix should be added in the next update.