LISTS WORKING cleanup afterwords
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
using AyaNova.Biz;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace AyaNova.DataList
|
||||
{
|
||||
|
||||
//This class defines a field used for returning data in list format for UI grid lists and reporting
|
||||
public class DataListFieldDefinition
|
||||
{
|
||||
@@ -51,12 +49,9 @@ namespace AyaNova.DataList
|
||||
[JsonIgnore]
|
||||
public string SqlColorColumnName { get; set; }//column to fetch the color if applicable to this field
|
||||
|
||||
|
||||
|
||||
public DataListFieldDefinition()
|
||||
{
|
||||
//most common defaults
|
||||
|
||||
IsCustomField = false;
|
||||
IsFilterable = true;
|
||||
IsSortable = true;
|
||||
@@ -66,7 +61,6 @@ namespace AyaNova.DataList
|
||||
AyaObjectType = (int)AyaType.NoType;
|
||||
SqlAyTypeColumnName = null;//must be null as that is checked against specifically
|
||||
SqlColorColumnName = null;//must be null to be ignored properly
|
||||
|
||||
}
|
||||
|
||||
//Get column to query for display name or use FieldName if there is no difference
|
||||
|
||||
Reference in New Issue
Block a user