Topic: Cannot pass data as array to editable table

Aningalan free asked 4 years ago


Actual behavior
(Please refer to code snippets) When I try to pass participant_array to data , nothing shows

Expected behavior
I tried printing participant_array to console to see if it has the right structure for data. It shows
enter image description here

I also tried copying that and paste it to data = { } to see if it works... expected output should be like this:
enter image description here

Resources (screenshots, code snippets etc.)
Here is my code: enter image description here enter image description here


Jakub Chmura staff answered 4 years ago


Hi @Aningalan,

Your example seems to be correct.

Can you send me this example with a sample of data that you fetch?

Just paste code here or on codesandbox this component with access to data, then I'll be able to look at what's wrong in this case.

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

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.25.6
  • Device: Dell
  • Browser: Google Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No