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