@using Bowin.Web.Controls.Mvc;
@using EMISOnline.Entities;
@using EMISOnline.Web.Controls;
@{
ViewBag.Title = "List";
}
@Html.Position()
@using (Html.BeginForm("", "", FormMethod.Post, new { id = "fm" }))
{
}
@*
*@
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="CollegeID"},
new BoundFieldColumn { FieldName="No", HeaderText="院系代码", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Name", HeaderText="院系名称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="SimpleName", HeaderText="院系简称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="CampusName", HeaderText="所属校区", Align=AlignStyle.Center }
//new BoundFieldColumn { FieldName="CreateTime", HeaderText="建立时间", Align=AlignStyle.Center,Formatter=Formatter.LongDate },
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/College/List"),
ID = "dgList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsVerticalExpand = true,
IsAutoHeight = false,
PageSize = 15
})