title: Keeping Table Header Fixed in MVC
body: <p>I have a Table for which I need to keep the header fixed. The code for the table is as below:</p>
  
  <pre><code>@Html.Grid(Model).Columns(column =&gt;
  {
       column.For(m =&gt; m.Id).Attributes(@class =&gt; "HideColumn").HeaderAttributes(@class =&gt; "HideHeader");                                   
       column.For(m =&gt; m.HolidayName).Named("Holiday Name").Attributes(@style =&gt; "width:300px;");
       column.For(m =&gt; m.HolidayDetails).Named("Holiday Details ").Attributes(@style =&gt; "width:300px;");
       column.For(m =&gt; m.Status).Named("Status").Attributes(@style =&gt; "width:200px;"); 
  }
  </code></pre>
  
  <p>How to do this? Thanks in advance.  :)</p>