summaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-02-18 10:05:25 +0200
committerPekka Hyvönen <pekka@vaadin.com>2015-02-18 12:23:23 +0200
commit9b2f51ca9ff48ad9484b8ee67770ab1a58352b35 (patch)
tree952a8f76a7e5003fd59daf0d1ebb17899ccd5f61 /shared/src
parentf537b9fdb2ba3993090d22011adfe247e4e2b6bd (diff)
downloadvaadin-framework-9b2f51ca9ff48ad9484b8ee67770ab1a58352b35.tar.gz
vaadin-framework-9b2f51ca9ff48ad9484b8ee67770ab1a58352b35.zip
Update server side state when columns are reordered. (#16643)
Change-Id: I96c65dbb96614a5f5782b747fb8588647211cf4b
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java b/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
index c90a016383..4dec5530aa 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
@@ -47,4 +47,16 @@ public interface GridServerRpc extends ServerRpc {
* mouse event details
*/
void itemClick(String rowKey, String columnId, MouseEventDetails details);
+
+ /**
+ * Informs the server that the columns of the Grid have been reordered.
+ *
+ * @since
+ * @param newColumnOrder
+ * a list of column ids in the new order
+ * @param oldColumnOrder
+ * a list of column ids in order before the change
+ */
+ void columnsReordered(List<String> newColumnOrder,
+ List<String> oldColumnOrder);
}