Legacy table Row color: i = index in data, not displayedData

I want to show alternate rows with a gray background in Legacy table (not supported in New). To do so, I use the following code in Row color -> {{ i % 2 == 0 ? 'gray': 'white'}}

Works fine as long as table is not filtered.

This is due to i referencing the row index in data instead of displayedData, which to me is a bug as color is of no interest if row is hidden.

Hi @yiga2! I definitely see how this is a bug and I was able to reproduce the same behavior. I'll file this with the table team!