Topic: Datatables, Dynamic Pagination and the render listener in React

launchbrigade priority asked 1 year ago


I am looking to add functionality to the Datatables component. When reaching the end of the loaded data, i would like the next button to send the next API call and then add the result. In the other versions I see event listeners that i think i could use for this but in react the API docs only show rowclick and selectrow. What gives? Was this just left out ?


Mateusz Lazaru staff answered 1 year ago


Yes, there is definitely a lack of events.

What do you think about creating an event like onPageChange(currentPage, allPages)? In my opinion, it would be enough to achieve the goal.



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 React
  • MDB Version: MDB5 4.2.0
  • Device: Mac
  • Browser: Chrome
  • OS: Monterey
  • Provided sample code: No
  • Provided link: No