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

Dynamic filters? #377

Open
Oninaig opened this issue Jan 6, 2023 · 1 comment
Open

Dynamic filters? #377

Oninaig opened this issue Jan 6, 2023 · 1 comment

Comments

@Oninaig
Copy link

Oninaig commented Jan 6, 2023

Quick question related to the filtering aspect of the grid. Is it possible to have the available filters change based on what filters you already have selected? An example being that if you filter on property A then the rest of the filters update to only show available filters that actually have property A as a part of their respective row.

@gustavnavar
Copy link
Owner

I added 3 examples where a filter's content changes depending on the other filters. You can find them here:

The customer filter is the one that has this feature. If you filter by the OrderID field for values greater than 11385m the grid has only 5 rows and the customer filter shows only 5 customers.

You can see how it's build looking at these custom filters:

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

2 participants