After searching and searching because RowNumber() is returning always 1, I managed it by adding the next ConditionalFormatting rule:
"= RunningValue("table1",Sum(1)) Mod 2" "<>" "0"
as shown in the attached screenshot.
Finally select a different style for that rule.
I hope it this will help you :)