This commit is contained in:
@@ -10,7 +10,7 @@ namespace AyaNova.DataList
|
||||
SQLFrom = "from aReport";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "name", "aType", "active" };
|
||||
DefaultColumns = new List<string>() { "name", "aType", "ReportNotes", "active" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "name", "+" } };
|
||||
FieldDefinitions = new List<DataListFieldDefinition>();
|
||||
|
||||
@@ -34,6 +34,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "areport.AType"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ReportNotes",
|
||||
FieldKey = "ReportNotes",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "areport.notes"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Active",
|
||||
|
||||
Reference in New Issue
Block a user