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

Awesome #1

Open
Cmacu opened this issue Apr 23, 2020 · 2 comments
Open

Awesome #1

Cmacu opened this issue Apr 23, 2020 · 2 comments

Comments

@Cmacu
Copy link

Cmacu commented Apr 23, 2020

Hi,

Just wanted to say how awesome this package is and mention another use case: interface filters (for example in reporting). Especially since it allows a certain level of abstraction and dynamic adding and removing filters. Something I was struggling with for a while. Thank you.

@pie6k
Copy link
Owner

pie6k commented Aug 3, 2020

Could you elaborate a bit more on this? I'm not sure if I understand

@Cmacu
Copy link
Author

Cmacu commented Aug 3, 2020

A good example would by dynamically adding filters to datatable.
Let's say you want to filter a table by Country, than by GDP, than by Date Range.

  1. The user clicks on 'Add Filter' to see list of available filters (list of objects with filterer interfaces)
  2. Selects the desired filter
  3. Assigns filter value
  4. Repeat for all desired filters

Does this explain the concept or example with code would be more useful?

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