Topic: Datatable server side pagination

ilya premium asked 3 years ago


Is there some example how to make a server-side pagination with the datatable?

As far as I could see, changing the page does not provide an event I could react to.


ilya premium answered 1 year ago


@Grzegorz Bujański is there any progress on that?


Kamila Pieńkowska staff commented 1 year ago

We've changed our plans for product development. We do not plan to add server-side pagination to Datatable. We are developing a new, more complex plugin to present data, that will allow server-side/API support.


Grzegorz Bujański staff answered 3 years ago


At the moment we do not have such an example prepared.

Datatables pagination does not allow you to retrieve the rest of the data asynchronously.

In this case, you would have to set the pagination = "false" option in the Datatables and add separate pagination that will handle the retrieval of subsequent data. Then, after downloading new data, just use the update method:

datatableInstance.update(data: Object, options: Object)


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: No