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,350Questions: 37Answers: 394
  • allanallan Posts: 61,723Questions: 1Answers: 10,108 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.