tabindex and Keyboard handlers upon a Row
#1220 aperta il 12 apr 2017
Metriche repository
- Star
- (2240 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Hi, first, thanks for the feature-ful library!
I'm migrating to react-bootstrap-table from an older Backgrid solution and have come across an issue when replicating navigation from a row. In my old tables, you were able to highlight a row like so...
...where pressing enter would trigger a row handler and to allow a behavior.
In react-bootstrap-table I get a selection around the selection checkbox but I don't seem to be able to perform the similar action upon the row.

The row itself needs a tabindex attribute to enable this. I also don't seem to be able to add a keyboard handler to a row (I've found keyBoardNav in the source but it's undocumented).
So two questions:
- Is there currently a way to add a
tabindexto atrinstead of atd? - Is there a way to add a keyboard event handler to a row?
Many thanks.