Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: datatable - loading data on page change

maxizen priority asked 3 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 3 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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 10.1.1
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: No