I would really like to use merge syntax like {{filtername.currentfilterlabel}} in a column heading in a table, so that I could have a column where the heading updates with the filter.
My specific use case is an aggregate table where one column responds to filters and others don’t because it’s complicated. The table defaults to All Time, and that’s what’s in my column header. But I’d like to add a filter of Last Month, Last Year, Last 3 Years, etc, and have the column header update. Would be so cool.
Maybe you could actually use the current conditions on a model, and maybe there’s some javascsript that could look at the conditions and when they change update a UI-Only field to a certain value, like “Last 3 Years”, and then you could use that UI-Only field as the source for your column header.
If anyone gets that to work I’ll send you a bean and cheese taco.
Question
Is there a way to get the label of an active table filter via merge syntax?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
