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
I also tried copying that and paste it to data = { } to see if it works... expected output should be like this:
Resources (screenshots, code snippets etc.)
Here is my code:
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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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