angular-ui/ui-grid

Row Selection via Keyboard Nav

Open

#3,437 opened on May 6, 2015

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
good first issuetype: enhancement

Description

We are using ui-grid (3.0) for displaying a lot of read-only data in our application. I can enable rowSelection very easily using enableRowSelection = true; It works great when using the mouse. However, if I then enable keyboard navigation, I would also like the up/down arrow keys to select an entire row.

I think it would be fairly easy to do with a directive that mimics the code that is already there to do row selection with the mouse but it would be great if this functionality was built into the grid instead of hacking this in by the client code.

Is there any way this could be added.

I am totally new to Github and maybe this should be a pull request (feature request) and not an Issue? Sorry if this is the wrong forum for this request.

Contributor guide