You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of bigger datasource, the last row is missing in the table.
"code"
LazyBeanContainer lbc = new LazyBeanContainer(SomeModel.class,new DAO(),rs);
//DAO getCount() always return 1000.
//getItemIds method in LazyBeanContainer returns always all values correctly - according to startIndex & numberOfIds
Table tableTest = new Table("Test Table", lbc);
//result -> the last row is missing at the bottom of table
BeanContainer<Long, SomeModel> bc = new BeanContainer<Long, SomeModel>(SomeModel.class);//to compare with Vaadin original container
Table tableTest = new Table("Test Table", lbc);
// result -> all rows are displayed correctly.
LazyBeanContainer works well for 50, 100 rows. For 1000 or more it doesnt. The last row is missing. In case I use Vaadin's standard BeanContainer table displays everything correctly.
In debugMode, method getItemIds(int,...) returns for the last page (where the last row is missing) all DB records correctly (the last record is there).
I am using Vaadin 7.0.6.
Any idea?
The text was updated successfully, but these errors were encountered:
I have to say that I do not know. I will create a demo project with h2 database for issue replications (and sorry for a really long response time, I missed this one...).
In case of bigger datasource, the last row is missing in the table.
"code"
LazyBeanContainer lbc = new LazyBeanContainer(SomeModel.class,new DAO(),rs);
//DAO getCount() always return 1000.
//getItemIds method in LazyBeanContainer returns always all values correctly - according to startIndex & numberOfIds
Table tableTest = new Table("Test Table", lbc);
//result -> the last row is missing at the bottom of table
BeanContainer<Long, SomeModel> bc = new BeanContainer<Long, SomeModel>(SomeModel.class);//to compare with Vaadin original container
Table tableTest = new Table("Test Table", lbc);
// result -> all rows are displayed correctly.
LazyBeanContainer works well for 50, 100 rows. For 1000 or more it doesnt. The last row is missing. In case I use Vaadin's standard BeanContainer table displays everything correctly.
In debugMode, method getItemIds(int,...) returns for the last page (where the last row is missing) all DB records correctly (the last record is there).
I am using Vaadin 7.0.6.
Any idea?
The text was updated successfully, but these errors were encountered: