Topic: Datatables, Dynamic Pagination and the render listener in React
                  
                  launchbrigade
                  priority
                  asked 2 years 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 2 years 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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