Replies: 2 comments 3 replies
-
I think this references the issue that we (it's one of our goals, right? @dhis2/team-platform) want to forward props to the root element / component |
Beta Was this translation helpful? Give feedback.
1 reply
-
I second this request. Would it also make sense to use the pointer-cursor when an onClick event handler is passed? (goes for both the DataTableCell and DataTableRow) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Passing
onClick
onDataTableRow
is not supported at the moment.There are cases, like in the
OpenFileDialog
where it's desirable that the whole row is clickable, regardless of which cell the mouse hits.I could obtain a similar result by adding the
onClick
on each cell of the row, but I don't see a reason why not have an optionalonClick
on the row component.Beta Was this translation helpful? Give feedback.
All reactions