These approaches are a great way to do this from Python. If you don’t mind meddling with the CSS, you can also do this by adding a rule to theme.css
in Assets:
.anvil-data-grid .anvil-data-row-panel:nth-child(even) {
background-color: #eee;
}
These approaches are a great way to do this from Python. If you don’t mind meddling with the CSS, you can also do this by adding a rule to theme.css
in Assets:
.anvil-data-grid .anvil-data-row-panel:nth-child(even) {
background-color: #eee;
}