title: Adding dynamic class to Webgrid column from model property
body: <p>I have a Webgrid with with many coloumn.
  One of the column is for due date.
  I need to change each entries color depending upon condition.
  Depending on condition i have added a color code property called "ColorCode" in view model.
  This color can be "red","yellow" or "green".</p>
  
  <p>my DueDate column looks like:</p>
  
  <pre><code> taskgrid.Column("DueDate", "Due Date", style: "DueDate", canSort: true, format: (item) =&gt; item.DueDate.ToShortDateString()),
  </code></pre>
  
  <p>here this coloumn has class "DueDate".
  I want to make it "DueDate red" , "DueDate yellow" or "DueDate green" 
  from "item=>item.ColorCode"
  i.e:</p>
  
  <blockquote>
    <p>style: "DueDate " + item=>item.ColorCode</p>
  </blockquote>