How top make server side datatable


Topic: How top make server side datatable

modadvisor pro premium priority vip early access asked 5 months ago

Dear Sir

I want to create server side datatable ? can you share any example please ?


Magdalena Dembna staff premium commented 5 months 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 pro premium priority vip early access commented 5 months 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


Magdalena Dembna staff premium answered 5 months 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


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: Vue
  • MDB Version: 6.7.1
  • Device: PC
  • Browser: google chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No