重新定义shortcut=CTRL-ENTER后,CTRL-ENTER和ENTER都会触发编辑事件。
给列表组件的ENTER 设置一个空的action就可以:
@Subscribe
public void onAfterShow(final AfterShowEvent event) {
departmentsTable.setEnterPressAction(new BaseAction("no_action"));
}
万分感谢!
重新定义shortcut=CTRL-ENTER后,CTRL-ENTER和ENTER都会触发编辑事件。
给列表组件的ENTER 设置一个空的action就可以:
@Subscribe
public void onAfterShow(final AfterShowEvent event) {
departmentsTable.setEnterPressAction(new BaseAction("no_action"));
}
万分感谢!