title: Custom column in MvcContrib Grid
body: <p>I am using mvc and mvccontrib grid for the first time. I have my mvcContrib grid like so:</p>
  
  <pre><code>&lt;%Html.Grid(Model.Results)
              .RowAttributes(row =&gt; new Hash(@class =&gt; row.Item.CadPriority1 ? "redgrid" : row.IsAlternate ? "alternategrid" : "grid"))
              .Columns(column =&gt;
              {
                  column.For(c =&gt;
                      (c.ExistsInPatRec == true) ?
                      Html.ActionLink(c.CaseNumber.ToString(), "Details", new { id = c.CaseNumber }, new { target = "_blank" })
                      : Html.Label(c.CaseNumber.ToString())
                      )
                      .Named("Case Number").SortColumnName("CaseNumber")
                      .Encode(false)
                      ;
   column.For(c =&gt; c.ProblemDesc).Named("Problem Code").SortColumnName("ProblemCode");
   column.For(c =&gt; c.DispatchDesc).Named("Dispatch Code").SortColumnName("DispatchCode");
  })
  .Sort(Model.SortOptions)%&gt;
  </code></pre>
  
  <p>Now,I want to add an image(based on a condition) in the first column - next to the link. How can I achieve this?</p>