aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java
index 579256d091..c4d6c95c01 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -1398,6 +1398,9 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* cells in this column. Returning null from the generator results in no
* custom style name being set.
*
+ * Note: The style generator is applied only to the body cells, not to
+ * the Editor.
+ *
* @param cellStyleGenerator
* the cell style generator to set, not null
* @return this column
@@ -3311,6 +3314,9 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* in this grid. Returning null from the generator results in no custom
* style name being set.
*
+ * Note: The style generator is applied only to the body cells, not to
+ * the Editor.
+ *
* @see StyleGenerator
*
* @param styleGenerator