summaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorPiotr Wilkin <piotr.wilkin@syndatis.com>2017-10-10 12:02:47 +0200
committerHenri Sara <henri.sara@gmail.com>2017-10-10 13:02:47 +0300
commit802bb98b851ab9b15617b283ccdba3dbc517ada6 (patch)
tree1edbb81782e941e2a6332fe9b610f9d1fe357c87 /shared/src
parenta8f23e84a0fbb5da515cacffb8f5a85fd4c21694 (diff)
downloadvaadin-framework-802bb98b851ab9b15617b283ccdba3dbc517ada6.tar.gz
vaadin-framework-802bb98b851ab9b15617b283ccdba3dbc517ada6.zip
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.
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorClientRpc.java9
1 files changed, 9 insertions, 0 deletions
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
@@ -28,6 +28,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.
*/
void cancel();