summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/com/vaadin/ui/Grid.java3
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);
}