|
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new BoundFieldColumn { FieldName="PName", HeaderText="步骤名称", Align=AlignStyle.Center, Width=0.08 },
new BoundFieldColumn { FieldName="ApproveUserNo", HeaderText="处理人编号", Align=AlignStyle.Center, Width=0.12 },
new BoundFieldColumn { FieldName="ApproveUserName", HeaderText="处理人姓名", Align=AlignStyle.Center, Width=0.08 },
new BoundFieldColumn { FieldName="ActionName", HeaderText="处理动作", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="ApproveTime", HeaderText="处理时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.16 },
new BoundFieldColumn { FieldName="Comment", HeaderText="审核意见", Align=AlignStyle.Center, Width=0.12 }
},
IsAutoLoad=true,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Common/ApproveStatus"),
ID = "dgApproveStatus",
IsPagination = false,
IsShowRowNumbers = true,
IsSingleSelect = false
})
|