I’m using a repeater to display a table of content. Above, I use filter buttons to filter out only rows with specific properties. However, I’m struggling to display the number of elements matching each rule next to the filter buttons.
What I’ve tried is setting up global variables for the different properties and incrementing them in the load function of the repeater, which works for the first load, but then keeps incrementing each time the table gets sorted/filtered.
Any help is appreciated! Thanks.