From 41bf82e6dd57dc23c6cc298fde0a971305e9134b Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Thu, 18 Dec 2014 13:22:11 +0200 Subject: Fix ClickableRenderers to use CellReferences (#13334) This patch also uses row keys and column ids in communication rather than indices. Change-Id: Ie3bb554bd5c45700f1681160eef08bef8beeaaee --- shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared/src') diff --git a/shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java b/shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java index f83b5aa44f..658caef050 100644 --- a/shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java +++ b/shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java @@ -26,5 +26,6 @@ public interface RendererClickRpc extends ServerRpc { * @param mouseDetails * Details about the mouse when the event took place */ - public void click(int row, int column, MouseEventDetails mouseDetails); + public void click(String rowKey, String columnId, + MouseEventDetails mouseDetails); } -- cgit v1.2.3