MDB Datatable enteries options for ALL


Topic: MDB Datatable enteries options for ALL

IT_Santini pro premium priority asked 3 years ago

Expected behavior I want to have the ability to view all records in a table, how can I achieve this? I think we should have an options for view all for example [10, 25, 50, 200, 'ALL']

Actual behavior entries options has limit to certain numbers for example [10, 25, 50, 200] cannot have the options for all records to be displayed

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/it_santini/3544865#js-tab-view


Dawid Wajszczuk staff answered 3 years ago

Hi,

Thanks for your feedback. It has been added to our ideas list.

Keep coding,
Dawid


tmdb pro premium priority answered 2 years ago

On the API.it is showing that this is an option.

[entriesOptions Array [10, 25, 50, 200] Options available to choose from in a pagination select (rows per page). Array with the available options may contain numbers and 'All' to display all entries on single page.]

this is not working for me. I am getting a NaN error. is this a functioning feature?


mlazaru staff commented 2 years ago

@tmdb Yes it is. Make sure you're using newest version of mdb package.

https://mdbootstrap.com/snippets/standard/mlazaru/4221543


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 3.10.1
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes