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

Update filter values if a filter in another column is set #542

Open
m-rossi opened this issue Sep 5, 2024 · 0 comments
Open

Update filter values if a filter in another column is set #542

m-rossi opened this issue Sep 5, 2024 · 0 comments

Comments

@m-rossi
Copy link

m-rossi commented Sep 5, 2024

Assuming I have the following dataframe

import ipydatagrid
import pandas as pd

df = pd.DataFrame({'A': [0, 1], 'B': [2, 3]})
ipydatagrid.DataGrid(df)

If I set a filter in the first column
image
one could expect that the value list in the second column is updated, but is not:
image

I know this can be a rather complicated topic because the order of filters applied is important. However: what if we grey-out values which are no longer available in the second column?

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