com.vaadin.shared.ui.grid.
Interface EditorClientRpc
-
All Superinterfaces:
public interface EditorClientRpc extends ClientRpc
An RPC interface for the grid editor server-to-client communications.
Since:
7.4
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
bind
void bind(int rowIndex)
Tells the client to open the editor and bind data to it.
Parameters:
rowIndex
- the index of the edited row
-
cancel
void cancel(int rowIndex)
Tells the client to cancel editing and hide the editor.
Parameters:
rowIndex
- the index of the edited row
-
confirmBind
void confirmBind(boolean bindSucceeded)
Confirms a pending
bind request
sent by the client.Parameters:
bindSucceeded
-true
iff the bind action was successful
-
confirmSave
void confirmSave(boolean saveSucceeded, String errorMessage, List<String> errorColumnsIds)
Confirms a pending
save request
sent by the client.Parameters:
saveSucceeded
-true
iff the save action was successfulerrorMessage
- the error message to show the usererrorColumnsIds
- a list of column keys that should get error markers, ornull
if there should be no error markers
-
-