This commit is contained in:
@@ -10,7 +10,7 @@ namespace AyaNova.DataList
|
||||
SQLFrom = "from aworkorderstatus";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "WorkOrderStatusName", "SelectRoles", "WorkOrderStatusRemoveRoles", "Active" };
|
||||
DefaultColumns = new List<string>() { "WorkOrderStatusName", "SelectRoles", "RemoveRoles", "Active" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "WorkOrderStatusName", "+" } };
|
||||
FieldDefinitions = new List<DataListFieldDefinition>();
|
||||
|
||||
@@ -70,8 +70,8 @@ namespace AyaNova.DataList
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "WorkOrderStatusRemoveRoles",
|
||||
FieldKey = "WorkOrderStatusRemoveRoles",
|
||||
TKey = "RemoveRoles",
|
||||
FieldKey = "RemoveRoles",
|
||||
UiFieldDataType = (int)UiFieldDataType.Roles,
|
||||
//NOTE: not technically an enum list but this will trigger datagrid at client to fetch roles for special handling
|
||||
EnumType = AyaNova.Util.StringUtil.TrimTypeName(typeof(AuthorizationRoles).ToString()),
|
||||
|
||||
Reference in New Issue
Block a user