Accessing data in nested objects
Hi, I have a data array with an object instead of primitive. How can I access this data to display in the table? v8 react-table
I tried with accessor function
but originalRow is undefined.
I also tried with
accessorKey
but I'm getting this error:
Error: "comments" in deeply nested key "comments.value" returned undefined.
1 Reply
multiple-amethystOP•3y ago
Solved, I was passing the data incorrectly
It worked with this: