Use tab key to navigate standalone inline editor
Use tab key to navigate standalone inline editor
aaron.dunigan.atlee
Posts: 20Questions: 7Answers: 0
I have a standalone editor (no associated table) that uses inline editing. I'd like to be able to use the tab key to navigate between fields in this editor, similar to this example, but without the table.
Is there a plug-in or extension that will do this?
If not, I'd appreciate any general advice on how to think about setting it up.
This question has an accepted answers - jump to answer
Answers
No sorry. Our KeyTable extension is specifically designed for use with DataTables.
As for how to do it - perhaps the easiest way would be to assign a
tabIndex
to the elements you want to be focusable and then detect the enter key when pressed on them and trigger inline editing on them.Allan