Datatable pagination not working if page size less than 10


Topic: Datatable pagination not working if page size less than 10

kaspar.tilk@uptime.eu pro premium 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'.


mlazaru staff answered 2 years ago

Thank you for reporting this. We will fix this bug soon.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • 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