1
我有以下代碼。如何設置header/row/alt。排式那裏?如何設置header/alt。行/行樣式爲MvcContrib網格?
@Html.Grid(Model.PagedList).Columns(
col =>
{
col.For(c => c.Name).Named("Name");
col.For(c => c.City).Named("City");
col.For(c => c.StateName).Named("State");
col.For(c => c.StartDateString).Named("Start Date");
col.For(c => c.EndDateString).Named("End Date");
} ).Sort(Model.GridSortOptions).Attributes(@class => "grid")