@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "DegreeConditionList";
Guid? degreeConditionPackageID = new Guid(Request["DegreeConditionPackageID"]);
}
@section scripts{
}
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="DegreeConditionID" },
new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.02 },
new BoundFieldColumn { FieldName="Title", HeaderText="条件名称", Align=AlignStyle.Center, Width=0.2 },
new CheckButtonColumn { FieldName="IsEnable", HeaderText="启用状态", Align=AlignStyle.Center, Width=0.04, EnableFieldName="false" }
},
PageSize = 15,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/DegreeConditionPackage/DegreeConditionList?DegreeConditionPackageID=" + degreeConditionPackageID),
ID = "dgDegreeConditionList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})