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

Datasource children filtering #37972

Closed
werneerm opened this issue Oct 12, 2022 · 3 comments
Closed

Datasource children filtering #37972

werneerm opened this issue Oct 12, 2022 · 3 comments
Labels

Comments

@werneerm
Copy link

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Just use a dataSource with children and try the onFIlter on a column.

What is expected?

I would expect the children to be filtered as well.

What is actually happening?

Currently if i want to filter on the table and the dataSource has children it will only filter in the parents and does not in the children. The main issue that you can not filter in the children only in parents.

Environment Info
antd 4.22.4
React 17.01
System All
Browser All
@PawelKonie99
Copy link

I've got same problem, can someone help with that?

@SleepWalker
Copy link

Did someone found a better solution then creating a local state and managing the filtering manually?

@afc163
Copy link
Member

afc163 commented Jan 27, 2024

Fixed in #47170

@afc163 afc163 closed this as completed Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants