@Html.Tree(new TreeOptions
{
ID = "ulTree",
ItemSourceUrl = Url.Content("~/PaperSetting/ListQuesLibTree"),
CssClass = "m_video_tree",
}, null)
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"},
new LinkButtonColumn { FieldName="content", HeaderText="题干内容", Align=AlignStyle.Center,Handle="view" , Width=400 },
new BoundFieldColumn { FieldName="base_question_type_name", HeaderText="试题类型", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="difficulty_degree", HeaderText="难度", Align=AlignStyle.Center},
new BoundFieldColumn { FieldName="used_count", HeaderText="采用频次", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="test_question_libary_name", HeaderText="题库", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="isEnable", HeaderText="是否有效", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="created_date", HeaderText="创建日期", Align=AlignStyle.Center, Formatter= Formatter.OnlyYearMonthDay },
new LinkButtonColumn { HeaderText="操作", Align=AlignStyle.Center , Text="编辑", Handle="edit" },
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/SubjectMgr/List"),
ID = "dgList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsVerticalExpand = true,
IsAutoHeight = false,
})