filterer
filterer copied to clipboard
Awesome
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.
Could you elaborate a bit more on this? I'm not sure if I understand
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.
- The user clicks on 'Add Filter' to see list of available filters (list of objects with filterer interfaces)
- Selects the desired filter
- Assigns filter value
- Repeat for all desired filters
Does this explain the concept or example with code would be more useful?