Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
The tab key changes the focus in a grid to the next element. How do I get the up/down/left/right arrow keys to work also?
很简单,您首先确定箭头键值并编写代码 onKeyPress 并检查键的值并编写适当的代码并让我知道发生了什么。