@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="AnnouncementID"},
new LinkButtonColumn { FieldName="Title", HeaderText="标题", Align=AlignStyle.Center, Width=0.06, Handle="viewAnnouncement" },
new BoundFieldColumn { FieldName="AnnouncementTypeDesc", HeaderText="通知类型", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="CreateDepartmentName", HeaderText="发布部门", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="IsTopStr", HeaderText="是否置顶", Align=AlignStyle.Center, Width=0.02 },
new BoundFieldColumn { FieldName="CreateUserName", HeaderText="发送人", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="CreateTimeDec", HeaderText="发送时间", Formatter = Formatter.LongDate, Align=AlignStyle.Center, Width=0.04 },
//new BoundFieldColumn { FieldName="EndTime", HeaderText="截止时间", Formatter = Formatter.LongDate, Align=AlignStyle.Center, Width=0.04 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/ProjectInformation/List"),
ID = "dgProjectInformationList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})