Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui-grid: tabbing into and out of the grid? #2339

Closed
alexandery opened this issue Dec 11, 2014 · 3 comments
Closed

ui-grid: tabbing into and out of the grid? #2339

alexandery opened this issue Dec 11, 2014 · 3 comments
Assignees
Milestone

Comments

@alexandery
Copy link

Hi guys,

I have a ui-grid on the page which displays search results. I need to be able to tab into it after hitting Search button and navigate the rows. Once a row is selected, I need to be able to tab out to an 'Open' button (which is outside the grid). Is this possible?

Thanks!

@PaulL1
Copy link
Contributor

PaulL1 commented Dec 13, 2014

The grid makes use of the tab button already for navigation around within the grid (when using the cellNav feature). So tabbing in and moving around is possible. But at present I don't think you can tab out again - the behaviour at the end of the grid is to go to the top left cell (i.e. tab will wrap around).

@PaulL1 PaulL1 added this to the 3.0 milestone Dec 13, 2014
@alexandery
Copy link
Author

Hi Paul,

Maybe I'm missing something (I'm sure that the case) but I cannot even tab into the grid. When I set tabIndex on ui-grid div the focus goes into the div but I'm unable to actually do anything with the keyboard inside the grid at that point.

It does not make any difference whether I use cellnav feature or not.

Hope this helps.

@cks333
Copy link

cks333 commented Jan 23, 2015

I have a number of fields (textboxes, checkboxes, selectfields etc) along with a number of grids (implemented using ui-grid) in a single page. Tabbing works fine in the page through various fields until i encounter the grid. The tabbing skips the grid and goes straight to next field ! I hope this fix will help me too ! Thanks to Paul and Swalters on this !

@c0bra c0bra closed this as completed in aabcd4d Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants