@using Bowin.Web.Controls.Mvc;
@using EMISOnline.Entities;
@using EMISOnline.Web.Controls;
@{
ViewBag.Title = "List";
}
@Html.Position()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new BoundFieldColumn { FieldName="test_name", HeaderText="试卷名称", },
new BoundFieldColumn { FieldName="test_method_set", HeaderText="试卷类型", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="test_begin_date", HeaderText="进入考试时间", Align=AlignStyle.Center, Formatter= Formatter.OnlyYearMonthDay},
new BoundFieldColumn { FieldName="limited_minutes", HeaderText="考试时长(分钟)", Align=AlignStyle.Center , },
new BoundFieldColumn { FieldName="status", HeaderText="考试状态", Align=AlignStyle.Center },
new LinkButtonColumn { HeaderText="操作", Align=AlignStyle.Center, Text="进入考试", Handle="edit"},
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/OnlineTest/List"),
ID = "dgList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsVerticalExpand = true,
IsAutoHeight = false,
})
@section scripts{
}