From f537b9fdb2ba3993090d22011adfe247e4e2b6bd Mon Sep 17 00:00:00 2001 From: Pekka Hyvönen Date: Tue, 17 Feb 2015 10:54:40 +0200 Subject: Toggle column reordering from server side. Tests for reordering. #16643 Change-Id: Ib52143ce387f6376878bf3d1c401615a15f1a3cc --- shared/src/com/vaadin/shared/ui/grid/GridState.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shared') 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; } -- cgit v1.2.3