From 802bb98b851ab9b15617b283ccdba3dbc517ada6 Mon Sep 17 00:00:00 2001 From: Piotr Wilkin Date: Tue, 10 Oct 2017 12:02:47 +0200 Subject: Edit grid row by index - server side (#10040) Opening grid editor from server side. Fixes #8477. Addressing #8820 will be the user's responsibility as fetching index of item might be slow. --- .../java/com/vaadin/shared/ui/grid/editor/EditorClientRpc.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'shared/src/main') diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorClientRpc.java index ff4ca4c614..e278e7716b 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorClientRpc.java @@ -27,6 +27,15 @@ import com.vaadin.shared.communication.ClientRpc; */ public interface EditorClientRpc extends ClientRpc { + /** + * Tells the client to open the editor and bind data to it. + * + * @param rowIndex + * the index of the edited row + * + */ + void bind(int rowIndex); + /** * Tells the client to cancel editing and hide the editor. */ -- cgit v1.2.3