com.vaadin.shared.ui.grid.editor.
Interface EditorServerRpc
-
All Superinterfaces:
public interface EditorServerRpc extends ServerRpc
An RPC interface for the grid editor client-to-server communications.
Since:
8.0
Author:
Vaadin Ltd
-
-
Method Detail
-
bind
void bind(String key)
Asks the server to open the editor and bind data to it. When a bind request is sent, it must be acknowledged with a
confirm call
before the client can open the editor.Parameters:
key
- the identifier key for edited item
-
save
void save()
Asks the server to save unsaved changes in the editor to the bean. When a save request is sent, it must be acknowledged with a
confirm call
.
-
cancel
void cancel(boolean afterBeingSaved)
Tells the server to cancel editing. When sending a cancel request, the client does not need to wait for confirmation by the server before hiding the editor.
Parameters:
afterBeingSaved
- iftrue
then this method is called to close editor after save action, otherwise it represents a cancel action
-
-