I need to sort the table by column, so I rewrite my component of the response table using the ReactTable component with the reaction table.
One of the cells in the table will contain a link and must access another row property. So far, the link column code looks like this:
{
Header: "Name",
accessor: "name",
Cell: cellInfo => (
<Link className="scenarioDetailLink"
to={cellInfo.row.linkDestination}
id={cellInfo.row.linkName}>{cellInfo.row.name}</Link>
)
},
This results in the following elements:

The generated anchor element does not contain id and href properties. What am I doing wrong.
source
share