Topic: Datatable pagination not working if page size less than 10
kaspar.tilk@uptime.eu priority asked 2 years ago
Expected behavior
Datatable component shows n items if page size n < 10.
Actual behavior
Only first and last pages show n items. Pages between first and last show "(total pages count - current page number) * page size" items.
Resources (screenshots, code snippets etc.)
new mdb.Datatable(table, basicData, {
hover: false,
selectable: false,
fixedHeader: true,
defaultValue: '',
entriesOptions: [2, 10, 25, 50, 200]
})
Pagination is broken when choosing entries '2'.
Add comment
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.4.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No