@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
书库信息列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="LibraryID" },
new LinkButtonColumn { FieldName="LibraryCode", HeaderText="书库编号", Align=AlignStyle.Center , Handle="edit", Width=0.04 },
new BoundFieldColumn { FieldName="LibraryName", HeaderText="书库名称", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="HeadPeople", HeaderText="负责人", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="ContectTelNumber", HeaderText="联系电话", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="CampusName", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="CreateUserName", HeaderText="创建人", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="CreateTime", HeaderText="创建时间", Align=AlignStyle.Center,Formatter= Formatter.OnlyYearMonthDay, Width=0.06 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Library/List"),
ID = "dgLibraryList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})