Keytable - handle Enter key event
Keytable - handle Enter key event
![esoyke](https://secure.gravatar.com/avatar/19113b521903b377cef8221c1b8d9b35/?default=https%3A%2F%2Fvanillicon.com%2F19113b521903b377cef8221c1b8d9b35_200.png&rating=g&size=120)
I've been able to add the KeyTable extension to my angular-datatables project, and can now navigate left/right/up/down through the cells. However even though key 13 is included in the keys array in the config, I'm unsure how to capture an Enter key event and perform a callback. I want the user to be able to hit Enter when they have the focus on a given row which launches a modal dialog with additional data.
This discussion has been closed.
Answers
Hi @esoyke ,
We're happy to take a look. As per the forum rules, if you could link to a running test case showing the issue we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
I was able to figure it out after a lot of trial and error, thanks. I'm having trouble getting a running sandbox working for this but if I can I'll post it later.