aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-03-24 15:19:35 +0200
committerHenrik Paul <henrik@vaadin.com>2015-03-25 14:18:00 +0000
commitda95f395add4916d0544858c87b448ddc5d03881 (patch)
tree5afeb45cf29858a811e64db48778b89791e18864 /server
parentdd2c4c9e7b6f1b4f0a930cfd5c5e24e536b7e7b6 (diff)
downloadvaadin-framework-da95f395add4916d0544858c87b448ddc5d03881.tar.gz
vaadin-framework-da95f395add4916d0544858c87b448ddc5d03881.zip
Fix Grid's frozen column count with hidden columns #17273
Change-Id: I4f8a893eec3cf7c32da34cb364a4d56589cbf3e2
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/Grid.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java
index e093a99159..62b3a74f05 100644
--- a/server/src/com/vaadin/ui/Grid.java
+++ b/server/src/com/vaadin/ui/Grid.java
@@ -3954,6 +3954,9 @@ public class Grid extends AbstractComponent implements SelectionNotifier,
* columns will be frozen, but the built-in selection checkbox column will
* still be frozen if it's in use. -1 means that not even the selection
* column is frozen.
+ * <p>
+ * <em>NOTE:</em> this count includes {@link Column#isHidden() hidden
+ * columns} in the count.
*
* @see #setFrozenColumnCount(int)
*