summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2015-03-18 10:05:47 +0200
committerVaadin Code Review <review@vaadin.com>2015-03-19 07:33:33 +0000
commit2be1e43d7081f0bc2c5f905d6b007fe597934ae3 (patch)
treef89f209bc439e881078eb915d8d1acf27cc8a8b8 /shared
parent4d5f6cf73f84bd0f68f05eb534699bddb898f9f1 (diff)
downloadvaadin-framework-2be1e43d7081f0bc2c5f905d6b007fe597934ae3.tar.gz
vaadin-framework-2be1e43d7081f0bc2c5f905d6b007fe597934ae3.zip
Adds server side column hiding API to Grid (#17023)
Change-Id: Ic00e873176f499dfc45976439e09d712932775da
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridColumnState.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java b/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java
index 4c5b2c3a02..b966c53352 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java
@@ -76,4 +76,10 @@ public class GridColumnState implements Serializable {
* minWidth is less than the calculated width, minWidth will win.
*/
public double minWidth = GridConstants.DEFAULT_MIN_WIDTH;
+
+ /** Is the column currently hidden. */
+ public boolean hidden = false;
+
+ /** Can the column be hidden by the UI. */
+ public boolean hidable = false;
}