diff options
author | Tatu Lund <tatu@vaadin.com> | 2018-03-27 14:53:15 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-03-27 14:53:15 +0300 |
commit | 98be8f19d046f8f0fd7fe5a753bff2c67efed9fd (patch) | |
tree | b7f9a91abdc40c2c791414c80b12e7cdee22f728 /shared | |
parent | 8b2da456bdbda7cd493bd9dc11bbb1dead368d5c (diff) | |
download | vaadin-framework-98be8f19d046f8f0fd7fe5a753bff2c67efed9fd.tar.gz vaadin-framework-98be8f19d046f8f0fd7fe5a753bff2c67efed9fd.zip |
Add row index to ItemClickEvent in Grid (#10754)
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.java index 644ae9b40f..c3718d4d2c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.java @@ -42,9 +42,11 @@ public interface GridServerRpc extends ServerRpc { * column internal id identifying the clicked property * @param details * mouse event details + * @param rowIndex + * the row index of the clicked item */ void itemClick(String rowKey, String columnInternalId, - MouseEventDetails details); + MouseEventDetails details, int rowIndex); /** * Informs the server that a context click has happened inside of Grid. |