T
TanStack•3y ago
passive-yellow

Hello, using v8 how would you achieve a `onRowClick` behaviour?

Building a master/detail page whereas the master is build on react-table, I want to update the detail content each time the user click on a row. how will you achieve this?
2 Replies
optimistic-gold
optimistic-gold•3y ago
You could add an onClick handler to your row element. It's really not anything to do with Tanstack Table. If you set up a sandbox for your scenario, it would be easier to show you.
passive-yellow
passive-yellowOP•3y ago
damn you right... I feel so stupid 😄

Did you find this page helpful?