diff options
author | John Ahlroos <john@vaadin.com> | 2013-07-24 15:28:15 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-07-24 12:58:25 +0000 |
commit | e9f3fcc211c0f05f606e75baee969c90bc1a5387 (patch) | |
tree | e7f08894265f61f483608606861e5e2523c5b361 /server/src/com/vaadin/ui/Table.java | |
parent | a53d4876f2e1b0edf34444e118c79b881f5549f9 (diff) | |
download | vaadin-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.java | 5 |
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); |