@using EMIS.Web.Controls;
@using Bowin.Web.Controls.Mvc;
@{
ViewBag.Title = "CheckingDetailList";
Guid? studentContrastID = new Guid(Request["studentContrastID"]);
}
@section scripts{
}
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="StudentRecordChangeHistoryID" },
new LinkButtonColumn { FieldName="StudentNo", HeaderText="学号", Align=AlignStyle.Center, Handle="edit", Width=0.1 },
new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 },
//new BoundFieldColumn { FieldName="TableName", HeaderText="校对表名", Align=AlignStyle.Center, Width=0.06, OverflowLength=8 },
//new BoundFieldColumn { FieldName="ColumnName", HeaderText="校对列名", Align=AlignStyle.Center, Width=0.06, OverflowLength=8 },
//new BoundFieldColumn { FieldName="DisplayPropertyName", HeaderText="显示属性", Align=AlignStyle.Center, Width=0.06, OverflowLength=8 },
new BoundFieldColumn { FieldName="Description", HeaderText="校对名称", Align=AlignStyle.Center, Width=0.04, OverflowLength=4 },
new BoundFieldColumn { FieldName="CheckingTypeName", HeaderText="校对类型", Align=AlignStyle.Center, OrderFieldName="CheckingTypeID", Width=0.04, CustomFormatFun="SetRedColumn", OverflowLength=4 },
new BoundFieldColumn { FieldName="CheckingBeforeContent", HeaderText="校对前内容", Align=AlignStyle.Center, Width=0.05, OrderFieldName="ColumnName", OverflowLength=6 },
new BoundFieldColumn { FieldName="CheckingAfterContent", HeaderText="校对后内容", Align=AlignStyle.Center, Width=0.05, OrderFieldName="ColumnName", OverflowLength=6 },
new BoundFieldColumn { FieldName="IP", HeaderText="IP地址", Align=AlignStyle.Center, Width=0.08 },
new BoundFieldColumn { FieldName="ModifyTime", HeaderText="申请时间", Align=AlignStyle.Center, Width=0.1, Formatter = Formatter.LongDate }
},
IsPostBack = true,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/CheckingApprove/CheckingDetailList?studentContrastID=" + studentContrastID),
ID = "dgCheckingDetailList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})