Topic: MDB Datatable enteries options for ALL
IT_Santini priority asked 2 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
tmdb 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?
Mateusz Lazaru 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- 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