Keytable - handle Enter key event

Keytable - handle Enter key event

esoykeesoyke Posts: 2Questions: 1Answers: 0

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.

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    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

  • esoykeesoyke Posts: 2Questions: 1Answers: 0

    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.

This discussion has been closed.