Table navigation with arrow keys?

Table navigation with arrow keys?

PatricioFinkPatricioFink Posts: 27Questions: 12Answers: 0
edited July 2017 in Free community support

Is there a way to navigate the table with the up/down keys after doing a search?
So the user does not have to grab the mouse and click on the table to select an entry.

FYI: my table is in a modal window.

FYI2: I have an "onclick" event that i need in the table row of the entry:

Ty.

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
  • allanallan Posts: 63,482Questions: 1Answers: 10,467 Site admin

    You'd need to bind an event listener to the search box and have it listen for the key you want to move focus to the table (down in this case). KeyTable will let you navigate through the table, but not the table elements.

    Having said that, I would urge caution. Down is used is most platforms other than Windows to jump to the end of the line of text - useful if you click in the middle of the search term. It might be worth considering using the tab key, which KeyTable will work with automatically.

    Regards,
    Allan

This discussion has been closed.