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

Applied filter stays active after removing column #45

Open
danbruttyo2 opened this issue Mar 6, 2025 · 0 comments
Open

Applied filter stays active after removing column #45

danbruttyo2 opened this issue Mar 6, 2025 · 0 comments

Comments

@danbruttyo2
Copy link

If a column with an active filter is removed from the grid with com.vaadin.flow.component.grid.Grid#removeColumn, the filter is not reset for EnhancedGrid like the sort order is in the base Grid implementaton.
This leads to the filter stay active even though the column is not in the grid anymore.
Calling com.vaadin.componentfactory.enhancedgrid.EnhancedGrid#clearAllFilters after removing the column's the filter is not applied for the grid, but when putting back the column, the previously entered filter is applied again. This behaviour is inconsistent with the way sort order is handled.

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

No branches or pull requests

1 participant