diff options
author | Henrik Paul <henrik@vaadin.com> | 2015-03-18 10:05:47 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-03-19 07:33:33 +0000 |
commit | 2be1e43d7081f0bc2c5f905d6b007fe597934ae3 (patch) | |
tree | f89f209bc439e881078eb915d8d1acf27cc8a8b8 /shared | |
parent | 4d5f6cf73f84bd0f68f05eb534699bddb898f9f1 (diff) | |
download | vaadin-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.java | 6 |
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; } |