If the height is set a scroller within the table appears.
If user scrolls down and changes page, then wrong rows are shown. Moreover, at the begining of page some of rows are shown once again.
This happens because the initial offset is ignored. Instead of it the internal offset of the PagedTableContainer is used, which is page related. Right would be to use both offsets.
Here is a possible correction for this problem:
@Override
public List<?> getItemIds(final int startIndex, final int numberOfItems) {
return container.getItemIds(this.startIndex, numberOfItems);
}
-->
@Override
public List<?> getItemIds(final int startIndex, final int numberOfItems) {
return container.getItemIds(this.startIndex + startIndex, numberOfItems);
}
Please check and commit.
If the height is set a scroller within the table appears.
If user scrolls down and changes page, then wrong rows are shown. Moreover, at the begining of page some of rows are shown once again.
This happens because the initial offset is ignored. Instead of it the internal offset of the PagedTableContainer is used, which is page related. Right would be to use both offsets.
Here is a possible correction for this problem:
-->
Please check and commit.