@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
字典类型列表
@Html.ContextMenuBar("List")
@*@Html.PositionBatchModify()*@
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="DictionaryCode" },
new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.02 },
new BoundFieldColumn { FieldName="DictionaryCode", HeaderText="类型代码", Align=AlignStyle.Center, Width=0.04, OverflowLength=25 },
new BoundFieldColumn { FieldName="DictionaryName", HeaderText="类型名称", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="IsEditableName", HeaderText="可否编辑", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }
},
PageSize = 50,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Dictionary/List"),
ID = "dgDictionaryList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})