summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Table.java
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2013-07-24 15:28:15 +0300
committerVaadin Code Review <review@vaadin.com>2013-07-24 12:58:25 +0000
commite9f3fcc211c0f05f606e75baee969c90bc1a5387 (patch)
treee7f08894265f61f483608606861e5e2523c5b361 /server/src/com/vaadin/ui/Table.java
parenta53d4876f2e1b0edf34444e118c79b881f5549f9 (diff)
downloadvaadin-framework-e9f3fcc211c0f05f606e75baee969c90bc1a5387.tar.gz
vaadin-framework-e9f3fcc211c0f05f606e75baee969c90bc1a5387.zip
Fix issue with hidden component cells in Table and TreeTable #12119
Change-Id: I2f491d04ff177f7f0ce104c96b1c4a84ee7a2bc0
Diffstat (limited to 'server/src/com/vaadin/ui/Table.java')
-rw-r--r--server/src/com/vaadin/ui/Table.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Table.java b/server/src/com/vaadin/ui/Table.java
index 5dbf927658..3507e6b0a5 100644
--- a/server/src/com/vaadin/ui/Table.java
+++ b/server/src/com/vaadin/ui/Table.java
@@ -54,6 +54,7 @@ import com.vaadin.event.dd.DropHandler;
import com.vaadin.event.dd.DropTarget;
import com.vaadin.event.dd.acceptcriteria.ServerSideCriterion;
import com.vaadin.server.KeyMapper;
+import com.vaadin.server.LegacyCommunicationManager;
import com.vaadin.server.LegacyPaint;
import com.vaadin.server.PaintException;
import com.vaadin.server.PaintTarget;
@@ -3784,7 +3785,9 @@ public class Table extends AbstractSelect implements Action.Container,
+ currentColumn][indexInRowbuffer])) {
final Component c = (Component) cells[CELL_FIRSTCOL
+ currentColumn][indexInRowbuffer];
- if (c == null) {
+ if (c == null
+ || !LegacyCommunicationManager
+ .isComponentVisibleToClient(c)) {
target.addText("");
} else {
LegacyPaint.paint(c, target);