Replies: 2 comments
-
you can work with a checkbox to retrieve an object but hide it with CSS? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ivan-sakoman I actually found a solution to do it: The key is using the props that are called <tr {...row.getRowProps(getRowProps(row))}>
{row.cells.map((cell) => {
return <td {...cell.getCellProps()}>{cell.render("Cell")}</td>;
})}
</tr> https://codesandbox.io/s/react-table-selector-on-click-for-the-row-getting-all-object-qhsfm |
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.
-
I have seen a lot of examples where you can use a checkbox to click on a specific row to retrieve the object from it, but I am wondering if it's possible to click on an entire row instead to retrieve an object instead?
Beta Was this translation helpful? Give feedback.
All reactions