Topic: How top make server side datatable
modadvisor free asked 4 years ago
Dear Sir
I want to create server side datatable ? can you share any example please ?
Magdalena Dembna staff answered 4 years ago
Unfortunately, our external API examples don't apply to your case as it loads all entries at once and we don't emit an event when the page is changed: https://mdbootstrap.com/docs/vue/tables/datatables/#external-api
I will create a task for us to address this issue in the future. Best regards, Magdalena
rockycastaneda priority commented 3 years ago
Has this ever been addressed? this post was 9 months ago.
Mikołaj Smoleński staff commented 3 years ago
In the latest MDB5 Vue Datatable we have a render
event that emits on every page change. It can be useful in your case.
Keep coding, Mikołaj from MDB
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 6.7.1
- Device: PC
- Browser: google chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Magdalena Dembna staff commented 4 years ago
Can you elaborate on what do you wish to achieve? What sort of technology are you using? Have you run into any specific problems?
Best regards, Magdalena
modadvisor free commented 4 years ago
@Magdalena Dembna my backend is in laravel. and i am having mdb-vue theme. i am trying to use datatable and want to do server side (axios) integarion to get data from server side and display. sorting,pagination, searching everthing need to work server side. for example i am having 1M records in db so i can not load all records at a time in datable so i need to get records when called axios to server and get fix number of records. Thanks