Topic: Need to implement Server side datable with sorting, filtering, search, pagination
varunsingh91 pro premium priority asked a day ago
can you please provide me the reference for implementing server side datatable as the data i want to populate is very huge in count. It will be really helpful if you can please provide me the reference for implementation using angular.
Arkadiusz Idzikowski staff answered 22 hours ago
Unfortunately we do not have such a guide yet but I added this idea to our to-do list.
But if it is urgent you could try to adjust the basic example from our documentation to your needs: https://mdbootstrap.com/docs/angular/data/datatables/#section-basic-example
For example, to use server side pagination you would need to:
- Remove the
[pagination]="pagination"
input from thetable
element and usemdbTable
directive and<mdb-table-pagination>
component separately. - The pagination component has a
[total]
input that let you manually set the total number of pagination entries. The component also emits a(paginationChange)
event. You can use information from this event to send request to a server and then update data used by themdbTable
directive
You can find more useful information in the API section: https://mdbootstrap.com/docs/angular/data/datatables/#api-section-usage
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: MDB5 7.1.0
- Device: Laptop
- Browser: safari, chrome
- OS: Mac
- Provided sample code: No
- Provided link: No