@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="StudentEditObjectsID" },
new LinkButtonColumn { FieldName="EducationName", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, Handle="edit", OrderFieldName="EducationID", Width=0.05 },
new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="开放学年", Align=AlignStyle.Center, OrderFieldName="SchoolyearNumID", Width=0.05 },
new BoundFieldColumn { FieldName="Starttime", HeaderText="开始时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.1 },
new BoundFieldColumn { FieldName="Endtime", HeaderText="结束时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.1 },
new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.02 },
new BoundFieldColumn { FieldName="CreateUserName", HeaderText="创建人", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="ModifyUserName", HeaderText="修改人", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="ModifyTime", HeaderText="修改时间", Align=AlignStyle.Center, Width=0.06, Formatter= Formatter.LongDate }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/OpenObject/List"),
ID = "dgStudentEditObjectList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})