How to access table[firstColumn][currentRow] within ColumnDefinitions?
Consider the following code below for context. From the props provided to
cell which of these should we use row.original, getValue or getAllCells to access the product located in the first column of each row, to retrieved it's ID?
2 Replies
genetic-orange•3y ago
row.original.productId should work
Or whatever the column accessor is for the data you want
national-goldOP•3y ago
Thanks attila! I think that was the approach I ended up taking, I am glad it is not the incorrect way