so you can have an event on the player controller or in your inventory where its best suited for when you select a filter.
each item widget can bind to this event and when a filter is selected it can check, does my item match this filter and if so set its visibility accordingly.
if your not sure what event bindings are just search it on YouTube, theyre worth learning