@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "UserRole";
}
@section scripts{
}
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="RoleID"},
new LinkButtonColumn { FieldName="RoleName", HeaderText="类型名称", Align=AlignStyle.Center , Handle="edit" },
new BoundFieldColumn { FieldName="DefaultDataRangeDesc", HeaderText="数据范围", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="RecordStatusDesc", HeaderText="是否可用", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="Description", HeaderText="备注", Align=AlignStyle.Center }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/User/GetUserRoleList?userID=" + new Guid(Request["UserID"])),
ID = "dgRoleList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})