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.
我只是想知道,在 Flex Datagrid 中,如果按下的键是 Enter,则停止传播并发送一个假的 Tab 事件。
任何建议,Thankxx
尝试
if(event.keyCode == Keyboard.ENTER){ event.stopPropagation(); yourTarget.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN, true, false, 0, 9)); }