datatable - loading data on page change


Topic: datatable - loading data on page change

maxizen pro premium priority asked 4 years ago

Hi,

I have a backend service with large datasets so I want to load data page by page. Is there any way to achieve that? I saw that pagination has 'nextPageClick' and 'previousPageClick' events I could use but it seems that its page count is calculated only when whole data is loaded at once. Or am I able to set total items count and page size somewhere?

The other thing is I can't find in your docs any way to intercept sorting event. How could I do that?


Arkadiusz Idzikowski staff answered 4 years ago

Our solutions are dedicated to client-side pagination, we currently do not have support for backend integration.

As for the sporting event, there is a (sorted) output that should be emitted after clicking on the sort button.


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 10.1.1
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: No
Tags