Topic: MDB filter pagination
Danny priority asked 9 months ago
How do I add pagination to filters? The same like datatable/tableeditor.
Note that this is a front-end solution. Rather, you don't want to download 10,000 articles at once. So you will only use the basic functionality of the plugin in the case of a website with a small number of products. In the case of such a large number of products, you will use more advanced options.
You can add pagination to this plugin available here: https://mdbootstrap.com/docs/standard/navigation/pagination/ add listeners for clicking pagination and retrieving new items from the back-end. With the
getActiveFilters method you can check what filters are currently applied and download the next few articles that meet these requirements. Then render new articles on the page. Look at this example: https://mdbootstrap.com/docs/standard/plugins/filters/#subsection-spinner-example
This is a similar example to what you need to do. The difference is that you don't display the articles stored by the plugin, you just download them from the API.
Unfortunately, there is no such option at the moment. I will add this to our list of ideas. We will discuss in the team the possibility of adding such an option.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.10.2
- Device: Laptop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes