Background Color on Repeater


The today’s episode was very interesting and I’m adding the logic of background color to a row.

I found the color name options here: HTML Color Names

My questions is how to clear my previous style Row when I click a new Row ?
I’m inside a Repeater like the Country sample you did.

Screen Shot 2022-06-29 at 18.31.32
Screen Shot 2022-06-29 at 18.32.42

I need to click a new line and the last become transparent again.

Thanks, Mario

I found this and it’s working

Screen Shot 2022-06-29 at 18.52.40

Thanks, Mario