Filtering by clicking on the row header?
In one of the requirements, I'm working on, there was a suggestion to allow filtering by clicking on row headers. Let me explain some context as to what I mean by this.
Our row is populated by groups that were detected using specific traits in a machine learning model. However, the table rows showcase all the traits of the particular group, even if they weren't detected by that trait. One of the ideas was to essentially click on a trait (row header) such as "hair color" and filter all groups that were detected by hair color.
The idea is interesting, but I haven't come across anything of this sort before. I'm wondering if this sort of interaction makes sense/will become intuitive to the user - maybe by using a tooltip when the user hovers on the row. Or if you all have any examples of a similar interaction? Thank you!