diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-12-31 12:37:52 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2015-01-02 11:32:28 +0000 |
commit | 40582761f7c23b016155e173d1cb3bd73b3086fb (patch) | |
tree | 55c01f1c614fbd853c8e9fab408b95cc12a21572 /server/src | |
parent | d298d61416f719037c1c55d635d538d550994ca2 (diff) | |
download | vaadin-framework-40582761f7c23b016155e173d1cb3bd73b3086fb.tar.gz vaadin-framework-40582761f7c23b016155e173d1cb3bd73b3086fb.zip |
Fix Grid Header/Footer creating cells for unused properties (#15487)
Change-Id: I783fa6fdb44b0d5693723fc52cdb7fed3499dea1
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/ui/Grid.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index 0f6912be1a..d61458297a 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -1487,8 +1487,7 @@ public class Grid extends AbstractComponent implements SelectionNotifier, rows.add(index, row); getSectionState().rows.add(index, row.getRowState()); - Indexed dataSource = grid.getContainerDataSource(); - for (Object id : dataSource.getContainerPropertyIds()) { + for (Object id : grid.columns.keySet()) { row.addCell(id); } |