-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels