Replies: 1 comment
-
I am an idiot, I figured it out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given something like
{id: number, name: string, count: number}[]
.For the "count" column I wanted to also have access to the row's "id" and name value so I could produce something like
<Link to={`project/${id}/tasks`}> {name} has {count} tasks</Link>
in a column's render arrow func.If it's not possible, I suppose I could map over the records and create a data object attribute that has both
count
andid
packed together.Beta Was this translation helpful? Give feedback.
All reactions