Topic: Changing datatable data in background without pagination reset

Christian Aichner pro asked 3 years ago


I was wondering, if it is possible to update the datatable data in the background, without the pagination jumping back to 1 each time the data changes. (I would like stay on the same page)

This currently makes work with live data hell. 🔥

Best regards, Chris

Jakub Chmura staff answered 3 years ago

Hi @Christian Aichner,

Try tu use disableRetreatAfterSorting prop in your datatable.

Please let me know if you have achieved it.

Best, Kuba

Christian Aichner pro commented 3 years ago

Perfect. Had no time to test it in a live environment but it seems to be working with local tests.

Jakub Chmura staff commented 3 years ago

Nice to hear that your problem was solved.

Best, Kuba

Please insert min. 20 characters.


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



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.22.1
  • Device: Desktop
  • Browser: Google Chrome
  • OS: Windows 10 Professional
  • Provided sample code: Yes
  • Provided link: No