@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="RoleID"},
new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.06 },
new LinkButtonColumn { FieldName="RoleName", HeaderText="角色名称", Align=AlignStyle.Center , Handle="edit", Width=0.1 },
new BoundFieldColumn { FieldName="DefaultDataRangeDesc", HeaderText="数据范围", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="RecordStatusDesc", HeaderText="是否可用", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="Description", HeaderText="备注", Align=AlignStyle.Center, Width=0.1 }
},
PageSize = 30,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Role/List"),
ID = "dgRoleList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})