Skip to content

Clickable Rows in Data Grids #2766

Answered by shleewhite
brannytempy asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @brannytempy!

You are correct that the best practice is to have a cell in each row that contains a link. So for your example, maybe the text "Runners" could be a link instead.

We don't support clicking the entire row to navigate because it can't really be made accessible. In general, there is a divide between interactive elements (links/inputs/etc) and non-interactive elements (paragraphs/table rows/etc). When you add an onClick to a non-interactive element, it is difficult to communicate that it performs an action to all users and can make navigating the table more difficult.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shleewhite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants