From 6266f11b6d3cffdfdd56a3054367cbbf9b368e2c Mon Sep 17 00:00:00 2001 From: Tatu Lund Date: Fri, 19 Oct 2018 12:43:08 +0300 Subject: Improve setStyleGenerator JavaDocs (#11262) Added note that style generator is not applied to the Editor See also: https://github.com/vaadin/framework/issues/11169 --- server/src/main/java/com/vaadin/ui/Grid.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'server/src') 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 extends AbstractListing 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 extends AbstractListing 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 -- cgit v1.2.3