diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2015-02-18 10:05:25 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2015-02-18 12:23:23 +0200 |
commit | 9b2f51ca9ff48ad9484b8ee67770ab1a58352b35 (patch) | |
tree | 952a8f76a7e5003fd59daf0d1ebb17899ccd5f61 /shared/src | |
parent | f537b9fdb2ba3993090d22011adfe247e4e2b6bd (diff) | |
download | vaadin-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.java | 12 |
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); } |