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

Controlled filters - removing filter #94

Open
fhavrlent opened this issue Sep 7, 2022 · 1 comment
Open

Controlled filters - removing filter #94

fhavrlent opened this issue Sep 7, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@fhavrlent
Copy link

Description

Hi, currently if I want to have server side filter, I am able to control the filters - add and change them. But if I am filtering by multiple columns, and I want to remove just one, I cant since onFilter is empty, with no indication of which column should be removed.

@fhavrlent fhavrlent added the enhancement New feature or request label Sep 7, 2022
@Kuechlin
Copy link
Owner

ColumnFiltersState is a array of ColumnFilter and each filter has a id equal to a column. OnFilter allays gets the next column filter state as argument. To find out witch column was removed you have to compare it to the last filter state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants