@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
学位控制表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="DegreeOpenControlID" },
new BoundFieldColumn { FieldName="GraduatingSemesterCode", HeaderText="毕业学期", Align=AlignStyle.Center, Width=0.1, CustomFormatFun="SetRedColumn" },
new BoundFieldColumn { FieldName="DegreeBatchName", HeaderText="学位批次", Align=AlignStyle.Center, OrderFieldName="DegreeBatchID", Width=0.06, CustomFormatFun="SetRedColumn" },
new BoundFieldColumn { FieldName="StartDate", HeaderText="开始时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.06 },
new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.06 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/DegreeOpenControl/List"),
ID = "dgDegreeOpenControlList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})