diff options
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/GridDataChangeHandlerWidget.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/GridDataChangeHandlerWidget.java b/uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/GridDataChangeHandlerWidget.java index 35562c9000..deeb7a5807 100644 --- a/uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/GridDataChangeHandlerWidget.java +++ b/uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/GridDataChangeHandlerWidget.java @@ -64,6 +64,8 @@ public class GridDataChangeHandlerWidget extends Composite { public RemoteDelayedDataSource(List<String> datasource) { super(); rows = datasource; + // Make Grid request not exceed actual size. + resetDataAndSize(rows.size()); } @Override @@ -85,7 +87,6 @@ public class GridDataChangeHandlerWidget extends Composite { public Object getRowKey(String row) { return row; } - } public GridDataChangeHandlerWidget() { |