summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTatu Lund <tatu@vaadin.com>2019-10-21 08:37:20 +0300
committerAnastasia Smirnova <anasmi@utu.fi>2019-10-21 08:37:20 +0300
commit333f4458e58439bd424dd1fca582118d0fcd70e6 (patch)
tree02a170d11a178c606889c5f36eb8f48abf958adc /server
parent94fb3c2c08a3545705835194266cebbcb953c04a (diff)
downloadvaadin-framework-333f4458e58439bd424dd1fca582118d0fcd70e6.tar.gz
vaadin-framework-333f4458e58439bd424dd1fca582118d0fcd70e6.zip
Add note to setRenderer() JavaDoc about presentation provider (#11751)
Addresses https://github.com/vaadin/framework/issues/10277
Diffstat (limited to 'server')
-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