Dynamically set row background color in a WebGrid depending on the content

I created an exercise log with a grid showing the week results with a background color indicating if the week is in the future (white), failed (red) or was an epic success (green). The WebGrid does not support this out of the box at the moment. I looked over different alternatives to solve this.

Read more →