Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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'.


Mateusz Lazaru 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

  • 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