This commit is contained in:
2023-01-05 23:56:50 +00:00
parent 88786993bc
commit c0a09ff173
2 changed files with 10 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ namespace Sockeye.DataList
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
DefaultColumns = new List<string>() { "licensecreated", "licenseregto", "licensecustomer", "LicenseFetchedOn", "licensetags" };
DefaultColumns = new List<string>() { "licensecreated", "licenseactive", "licenseregto", "licensecustomer", "LicenseFetchedOn", "licensetags" };
DefaultSortBy = new Dictionary<string, string>() { { "licensecreated", "-" } };
FieldDefinitions = new List<DataListFieldDefinition>();
/*
@@ -62,6 +62,14 @@ namespace Sockeye.DataList
IsRowId = true
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "Active",
FieldKey = "licenseactive",
UiFieldDataType = (int)UiFieldDataType.Bool,
SqlValueColumnName = "alicense.active"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "LicenseRegTo",