Hi Isomorphic,
We are customizing a list grid editor using a SelectItem.
When the user hits the Enter key, the onEditorExit event fires, however, the Enter key also appears to select (or unselect) an entry in the multiple grid prior to the onEditorExit firing, resulting in an unintended edit.
For example, in editing mode, user Ctrl+clicks an entry in the multiple grid to unselect it, then hits the Enter key. Upon the editor closing, the item just unselected by Ctrl+click is re-selected by the Enter.
We do like the behavior that the Enter key completes the editing, however, the fact the Enter also deselects is a behavior we do not wish to happen.
Is there a way to prevent the Enter key from selecting and deselecting options in the multiple grid?
Thanks
We are customizing a list grid editor using a SelectItem.
Code:
selectItem.setMultiple(true); selectItem.setMultipleAppearance(MultipleAppearance.GRID);
For example, in editing mode, user Ctrl+clicks an entry in the multiple grid to unselect it, then hits the Enter key. Upon the editor closing, the item just unselected by Ctrl+click is re-selected by the Enter.
We do like the behavior that the Enter key completes the editing, however, the fact the Enter also deselects is a behavior we do not wish to happen.
Is there a way to prevent the Enter key from selecting and deselecting options in the multiple grid?
Thanks
Comment