summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2019-10-25 15:53:59 +0300
committerGitHub <noreply@github.com>2019-10-25 15:53:59 +0300
commit3817a771e30a0866dc0f4c09c30211083daa4b50 (patch)
tree5e9bf0c6bb318e72943b12572f3e7f2b90063063
parent87afa7668eb837c57f586a202baaaecbf2387dc3 (diff)
downloadvaadin-framework-3817a771e30a0866dc0f4c09c30211083daa4b50.tar.gz
vaadin-framework-3817a771e30a0866dc0f4c09c30211083daa4b50.zip
Add note to setRenderer() JavaDoc about presentation provider (#11751) (#11763)
Addresses https://github.com/vaadin/framework/issues/10277
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java3
1 files changed, 3 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 6c154dc407..8d19d89a7e 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -2095,6 +2095,9 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* all currently available row data to be recreated and sent to the
* client.
*
+ * Note: Setting a new renderer will reset presentation provider if
+ * it exists.
+ *
* @param renderer
* the new renderer
* @return this column