filterer icon indicating copy to clipboard operation
filterer copied to clipboard

Awesome

Open Cmacu opened this issue 4 years ago • 2 comments

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.

Cmacu avatar Apr 23 '20 22:04 Cmacu

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

pie6k avatar Aug 03 '20 19:08 pie6k

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?

Cmacu avatar Aug 03 '20 22:08 Cmacu