Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: lazy loading Grid shows items properly after filter apply (#645) (CP: 18.0) #647

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

Adds a regression test to verify the case when the items are bound to Grid lazily with unknown items count and the filter is being applied to items in the middle of scrolling.

Related-to: vaadin/flow#9988
filterField.addValueChangeListener(
event -> grid.getGenericDataView().refreshAll());

grid.setItems(query -> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Remove this use of "setItems"; it is deprecated. rule

@vaadin-bot
Copy link
Collaborator Author

SonarQube analysis reported 2 issues

  • MINOR 2 minor

Watch the comments in this conversation to review them.

1 extra issue

Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

  1. MINOR GridFilteringPage.java#L41: Remove this use of "setDataProvider"; it is deprecated. rule

@mshabarov mshabarov merged commit 674a5e3 into 18.0 Feb 16, 2021
@mshabarov mshabarov deleted the cherry-pick-645-to-18.0-1613395517987 branch February 16, 2021 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants