@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "RoleSelector"; } @section scripts{ }
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="RoleID"}, new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center }, 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("~/Role/ListAll"), ID = "dgRoleList", IsPagination = false, IsShowRowNumbers = true, IsSingleSelect = false })