Hi All,
I have table with LazyQueryContainer, 220 000 records. The last page is always missing the last record.
code(nothing special)
lqd = new LazyQueryDefinition(false, 50, “id”);
RangeQueryFactory rqf = new RangeQueryFactory(); // behind is query which returns correct count of items in size();
// public List<Item> loadItems(int startIndex, int count) {
// returns whole dataset correctly (last item is there!)
LazyQueryContainer lqc = new LazyQueryContainer(lqd, rqf);
table = new Table("Test Table", lqc);
lqd.addProperty("id", Long.class,null, true,true);
table.setVisibleColumns(new String[] {"id"});
table.setColumnHeaders(new String[] {"id"});
table.setSelectable(true);
table.setSizeFull();
table.setCaption("Test Table");
addComponent(table); // the client (FF, whatever) is missing the last record
Vaadin: 7.1.8
LazyQueryContainer: 2.1.0
any idea? Did you ever check the last row of bigger dataset? (1000 records at least)