@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="LevelSettingID", FieldName="LevelSettingID" },
new BoundFieldColumn { FieldName="ExaminationSubjectID", HeaderText="考试科目", Align=AlignStyle.Center , IsHidden=true },
new BoundFieldColumn { FieldName="ExaminationSubjectName", HeaderText="考试科目", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="LevelName", HeaderText="成绩等级", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="LevelNo", HeaderText="成绩等级序号", Align=AlignStyle.Center, IsHidden=true },
//new BoundFieldColumn { FieldName="MinScore", HeaderText="起始分", Align=AlignStyle.Center,Formatter= Formatter.OnlyYearMonthDay },
//new BoundFieldColumn { FieldName="MaxScore", HeaderText="终止分", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ScoreRange", HeaderText="成绩分数段", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/LevelSetting/List"),
ID = "dgLevelSettingList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})