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

Events Table search filter persists when scrolling horizontally #921

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

ankusht-work
Copy link
Contributor

When scrolling horizontally in the ag-grid table the SearchFilterRenderer components are unmounted when out of view and then created again when scrolled back into view. This patch adds the filterModel as a prop to the SearchFilterRenderer in order to set a default value when it is created again.

Fixes #841

Signed-off-by: Ankush-Tyagi ankush.tyagi@ericsson.com

Signed-off-by: Ankush-Tyagi <ankush.tyagi@ericsson.com>
Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me. Fixes the bug. Thanks for the contribution.

Copy link
Contributor

@hriday-panchasara hriday-panchasara left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@hriday-panchasara hriday-panchasara merged commit 4aa0d74 into eclipse-cdt-cloud:master Jan 31, 2023
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.

Events Table search filter text gets lost when scrolling horizontally
3 participants