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.