Topic: Pagination - Rows Per Page
screamatthewind pro asked 6 years ago
sundance answered 5 years ago
Is it an actual issue? The solution:
$(document).ready(function() {
$('#example').DataTable( {
"lengthMenu": [[5, 10, 20, -1], [5, 10, 20, "All"]]
} );
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 6 years ago
Dear screamatthewind, You have to create some variable to hold your desired items per page number and initially bind to this variable some value - for example, 5. Find in the code every 10 occurrences, and replace it with your variable. And that's should be all. Best Regards, Damian