标签: actionscript-3 flex advanceddatagrid
我想知道,在Flex Datagrid中如果按下的键是Enter,请停止传播并发送假的Tab事件。
任何建议, Thankxx
答案 0 :(得分:0)
尝试
if(event.keyCode == Keyboard.ENTER){ event.stopPropagation(); yourTarget.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN, true, false, 0, 9)); }