summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-02-17 10:54:40 +0200
committerPekka Hyvönen <pekka@vaadin.com>2015-02-17 16:34:28 +0200
commitf537b9fdb2ba3993090d22011adfe247e4e2b6bd (patch)
tree205da1e7682db9207da6f439ae10ba9f2b3fcb29 /shared
parenta7db9821bac2e41601dd4fd0f169d8a94d6e282e (diff)
downloadvaadin-framework-f537b9fdb2ba3993090d22011adfe247e4e2b6bd.tar.gz
vaadin-framework-f537b9fdb2ba3993090d22011adfe247e4e2b6bd.zip
Toggle column reordering from server side. Tests for reordering. #16643
Change-Id: Ib52143ce387f6376878bf3d1c401615a15f1a3cc
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridState.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridState.java b/shared/src/com/vaadin/shared/ui/grid/GridState.java
index 7018df1413..ab42a52424 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridState.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridState.java
@@ -156,4 +156,8 @@ public class GridState extends AbstractComponentState {
/** The caption for the cancel button in the editor */
@DelegateToWidget
public String editorCancelCaption = GridConstants.DEFAULT_CANCEL_CAPTION;
+
+ /** Whether the columns can be reordered */
+ @DelegateToWidget
+ public boolean columnReorderingAllowed;
}