table icon indicating copy to clipboard operation
table copied to clipboard

How to change the style of row by clicking that row?

Open tesicg opened this issue 8 years ago • 3 comments

For example, I would like to highlight the row that I clicked (selected).

<ReactTable getTrProps={(state, rowInfo, column) => { return { onClick: ???? }; }} ... /> How to do it?

tesicg avatar May 03 '18 14:05 tesicg

I responded to you in the #react-table slack channel with an example in codesandbox

gary-menzel avatar May 03 '18 14:05 gary-menzel

Thank you. I'll take a look.

tesicg avatar May 03 '18 14:05 tesicg

Closing due to issue age. If this issue was a question, please ask it again on https://spectrum.chat/react-table. If you think this issue needs to be reopened or if it should be turned into a pull-request, please check the latest version of React-Table for the issue or feature once more and reopen or create a PR if appropriate. Thanks!

tannerlinsley avatar May 24 '18 22:05 tannerlinsley