public interface EditorClientRpc extends ClientRpc
| Modifier and Type | Method and Description |
|---|---|
void |
bind(int rowIndex)
Tells the client to open the editor and bind data to it.
|
void |
cancel(int rowIndex)
Tells the client to cancel editing and hide the editor.
|
void |
confirmBind(boolean bindSucceeded)
Confirms a pending
bind request sent by
the client. |
void |
confirmSave(boolean saveSucceeded,
String errorMessage,
List<String> errorColumnsIds)
Confirms a pending
save request sent by
the client. |
void bind(int rowIndex)
rowIndex - the index of the edited rowvoid cancel(int rowIndex)
rowIndex - the index of the edited rowvoid confirmBind(boolean bindSucceeded)
bind request sent by
the client.bindSucceeded - true if the bind action was successfulvoid confirmSave(boolean saveSucceeded,
String errorMessage,
List<String> errorColumnsIds)
save request sent by
the client.saveSucceeded - true if the save action was successfulerrorMessage - the error message to show the usererrorColumnsIds - a list of column keys that should get error markers, or
null if there should be no error markersCopyright © 2021 Vaadin Ltd. All rights reserved.