Topic: MDB React DataTable not getting refresh while slicing array list without page reload

kinal.thakkar free asked 5 years ago


I have added delete function in MDB React DataTable and try to slice the arraylist but datatable not updating data without page reload. (It's not updating state of MDBDataTable from my statefull component)


Jakub Mandra staff answered 5 years ago


Hi,

Can you share your code? I think it can be the problem with updating your state - slice produces shallow copy, so the state may be mutated.



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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.8.4
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No