How do I support up or down arrow with Vaadin 7 Grid? In the Table component, I could do something like the below, just don’t know how to do it with Grid. I know if I call setEditorBuffered(false), it will go to the next line when I click key. But if I have setEditorBuffered(true), it just closes the editor but does not go to the next line.
In table code, since I used shortcut listeners, I could do any backend updates in those listeners. And for Grid where buffered mode is turned on, I can do it when “Save” is clicked in grid.getEditorFieldGroup().addCommitHandler(new CommitHandler()...);. I think, with the FastNavigation add-on, I can do it in RowEditListener or CellEditListener. Hopefully I am correct.
where is the best place to save to the backend, which event? From the demo, it looks like maybe RowEditListener is a good fit for that, just confirming.
To open the editor on one click (not needed with FastNavGrid, of course, but this was the original reason)
To NOT open the editor in certain strange cases, like permission level things
Since I could not see how to do number 2 with FastNavGrid, I figured I would just use the code I know works. But then I had this “Enter” problem. So any other ideas would be appreciated. Thanks.