From 30fdd68d44a3f68080c361a9d7ac9c45f464f7b7 Mon Sep 17 00:00:00 2001 From: Olli Tietäväinen Date: Wed, 27 Dec 2017 11:58:23 +0200 Subject: Update Grid.addColumn JavaDoc to tell about nested properties (#10431) --- server/src/main/java/com/vaadin/ui/Grid.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java index 3e75e637d4..64a09d8d96 100644 --- a/server/src/main/java/com/vaadin/ui/Grid.java +++ b/server/src/main/java/com/vaadin/ui/Grid.java @@ -2566,7 +2566,10 @@ public class Grid extends AbstractListing implements HasComponents, *

* This method can only be used for a Grid created using * {@link Grid#Grid(Class)} or {@link #withPropertySet(PropertySet)}. - * + *

+ * You can add columns for nested properties with dot notation, eg. + * "property.nestedProperty" + * * @param propertyName * the property name of the new column, not null * @return the newly added column, not null @@ -2583,6 +2586,10 @@ public class Grid extends AbstractListing implements HasComponents, *

* This method can only be used for a Grid created using * {@link Grid#Grid(Class)} or {@link #withPropertySet(PropertySet)}. + *

+ * You can add columns for nested properties with dot notation, eg. + * "property.nestedProperty" + * * @param propertyName * the property name of the new column, not null -- cgit v1.2.3