Using a custom accessor #2402
Unanswered
disparate1
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
my data array is like this:
And i have this on my React-table v6
the data won't show in the table, i know that i need to supply a custom function for the accessor, i tried this:
columns={resultSet.tableColumns().map(c => ({ ...c, Header: c.shortTitle,accessor: (row)=>row.c.key}))}
with no luck.
How can i set a custom accessor?
Beta Was this translation helpful? Give feedback.
All reactions