I suggest you implement the alternate row colors using CSS, just like they are already done with the Runo theme (but I guess the default alternating color is too light, right?).
Using item ids to color them will definitely not work in situations like this, since the order of the rows will not affect the item ids.
Actually, the row colors for the Runo theme are fine. However when I insert this line of code for the borderless table, I lose my alternating row colors:
table.addStyleName(Runo.TABLE_BORDERLESS);
Is there a way to set borderless directly in the CSS rather than doing it this way so I don’t lose my alternating row colors?
I forgot that I had removed the stripes and the white background color from the borderless table. But here’s a simple CSS snippet that will just remove the border without losing the row colors (use stylename “borderless2”).