Changing datatable data in background without pagination res


Topic: Changing datatable data in background without pagination reset

Christian Aichner pro asked 5 years ago

Greetings.

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 premium answered 5 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 5 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 premium commented 5 years ago

Nice to hear that your problem was solved.

Best, Kuba


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

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: No
  • Provided link: No
Tags