@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn { HeaderText="", FieldName = "LessonRecordID" },
new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Handle="show" },
new BoundFieldColumn { FieldName="SupervisionTypeDesc", HeaderText="督导类型", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="LessonDateDesc", HeaderText="督导时间", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="SupervisionCollegeName", HeaderText="督导院系", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Location", HeaderText="督导地点", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="UserName", HeaderText="督导对象", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="授课班级", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="TotalScore", HeaderText="评分", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
new BoundFieldColumn { FieldName="CreateUserName", HeaderText="督导员", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/LessonRecord/List"),
ID = "dgLessonRecordList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})