@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@section scripts{
}
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"},
new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center},
new BoundFieldColumn { FieldName="DepartmentName", HeaderText="教研室", Align=AlignStyle.Center },
// new BoundFieldColumn { FieldName="EducationMissionClassName", HeaderText="班级名称", Align=AlignStyle.Center, OverflowLength=16 },
new BoundFieldColumn { FieldName="StaffCode", HeaderText="教职工", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="UserCodes", HeaderText="被评教师编号", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="UserNames", HeaderText="被评教师",Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="EvaluationTableName", HeaderText="评价表名",Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/EvaluationSetting/StaffSelect?evaluationSettingID=" + ViewBag.EvaluationSettingID),
ID = "dgStaffList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})