summaryrefslogtreecommitdiffstats
path: root/compatibility-client
diff options
context:
space:
mode:
authorAndrey B. Panfilov <andrew@panfilov.tel>2020-08-12 15:20:02 +0300
committerGitHub <noreply@github.com>2020-08-12 15:20:02 +0300
commitb31ed94eaef94e989c70ea57bb8b8ecdca2e7fc4 (patch)
tree3048dbeca1d535214b270ae698b4fdd8f5786711 /compatibility-client
parent7406f478b9186b75b7f3b8c5df27c5a8de17f9e1 (diff)
downloadvaadin-framework-b31ed94eaef94e989c70ea57bb8b8ecdca2e7fc4.tar.gz
vaadin-framework-b31ed94eaef94e989c70ea57bb8b8ecdca2e7fc4.zip
Row Generator fixes (#12027)
NOTE: components within row generator are not an officially supported feature and can cause issues within your application.
Diffstat (limited to 'compatibility-client')
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
index c4294009d2..200d44f6c4 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java
@@ -6735,7 +6735,8 @@ public class VScrollTable extends FlowPanel
addSpannedCell(uidl, cell.toString(), aligns[0], "",
htmlContentAllowed, false, null, colCount);
} else {
- addSpannedCell(uidl, (Widget) cell, aligns[0], "",
+ final ComponentConnector cellContent = client.getPaintable((UIDL) cell);
+ addSpannedCell(uidl, cellContent.getWidget(), aligns[0], "",
false, colCount);
}
break;