title: MVC3 WebGrid - Creating Columns Dynamically (foreach?)
body: <p>I want to create a WebGrid with columns based on a collection, such as List. Something like this (which obviously doesn't work):</p>
  
  <pre><code>@grid.GetHtml(
    columns: grid.Columns(
      @foreach (var column in Model.ListOfColumns) {
         grid.Column(column.Name, column.Title);
      }
    )
  )          
  </code></pre>
  
  <p>Any clever ideas?</p>