ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Detect keyDown on grid

Open Havock94 opened this issue 11 years ago • 3 comments

Hi, I would like to detect a keydown event on the grid. So far I've found the cellNav.on.viewPortKeyDown event but unfortunately it doesn't work with arrow keys/enter/esc and tab (default navigation buttons).

Is there a way to capture those keys too?? Thank you!

Havock94 avatar Oct 19 '15 08:10 Havock94

We also had this requirement, the only way I could find to handle it was via global keyboard bindings since there isn't a 'html control' element to bind to.

dregan-gh avatar Oct 23 '15 00:10 dregan-gh

I've created a pull request to resolve this issue that will allow you to override any of the default events that the grid is handling.

conner-fallone avatar Mar 23 '16 20:03 conner-fallone

Closed by https://github.com/angular-ui/ui-grid/pull/5248

mportuga avatar Nov 08 '16 16:11 mportuga