Change the color of every other row in a DataGrid2 or just the first column

Hello, I’m still new to Mendix and have a question. As the question says, I am looking to see how to change the color in my DataGrid2. Ideally, I would want to have the color of the rows change every other row, like blue/white/blue/white/blue/white/blue/white/etc. If that doesn’t work, I’d like to have the first column be a different color. So far, I have the rows a custom color using this css.   div.table-content {     background-color: pink; } Any feedback would be really helpful in the learning process
1 answers

Hi Dan,

You might wanna have a look at this question for a reference,


Hope it helps!!