V4 Repeater - Coloured rows?

Can we colour the rows in v4 repeater? Can't see a method
4 Replies
toeknee
toekneeOP2mo ago
Thanks 😉 but I am looking for the repeater method, not the table method.
Dennis Koch
Dennis Koch2mo ago
.whatever-the-repeater-class-is:nth-child(2n) {
background-color: gray;
}
.whatever-the-repeater-class-is:nth-child(2n) {
background-color: gray;
}
toeknee
toekneeOP2mo ago
Most specifically when the row's relationship active state is disabled? i.e. $get('repeater.active') === false. For now I've set the inputs to disabled. But a colour row would be good like the table record classes. I'll try a PR when I get time, constantly chasing my tail.

Did you find this page helpful?