title: MVC: How can I change a Html.Grid row's colour based on value?
body: <p>I was wondering how to change the colour of a row in a Html.Grid, if a 'Completed' boolean property equals true.  Here is an example grid:</p>
  
  <pre><code>@Html.Grid(Model.ExampleList).Columns(c =&gt;
          {
              c.For(a =&gt; string.Format("{0:dd/MM/yyyy}", a.DateRequested)).Named("Date Requested");
              c.For(a =&gt; a.Comment).Named("Comment");
              c.For(a =&gt; a.Completed).Named("Completed");
          })
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Thanks.</p>