Search Results for

    Show / Hide Table of Contents

    Class CustomGridColumn

    Inheritance
    object
    BaseEntity
    CustomGridColumn
    Implements
    ICustomGridColumn
    IShareAcrossAccounts
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<ICustomGridColumn>
    Inherited Members
    BaseEntity.HISTORY_ENDROWUPDATE_COLNAME
    BaseEntity.HasTrackedPropertyChanged(string)
    BaseEntity.OriginalTrackedPropertyValue(string)
    BaseEntity.OriginalTrackedPropertyValue<T>(string)
    BaseEntity.ClearTrackedOriginalValues()
    BaseEntity.GetAllOriginalTrackedPropertyValues()
    BaseEntity.GetLabel(string)
    BaseEntity.SetLabel(string, string)
    BaseEntity.SetSilentLabel(string, string)
    BaseEntity.ResetChangedTrackedPropertiesToOriginalValues()
    BaseEntity.AddTrackedOriginalValue(string, object)
    BaseEntity.SnapshotProperties()
    BaseEntity.RestoreFromSnapshot(Dictionary<string, object>)
    BaseEntity.IsBasePropertyName(string)
    BaseEntity.IsBaseRelationshipID(string)
    BaseEntity.OnPropertyChanging(string)
    BaseEntity.OnPropertyChanged(string)
    BaseEntity.Equals(IBaseEntity)
    BaseEntity.GetHashCode()
    BaseEntity.Equals(object)
    BaseEntity.Clone(object)
    BaseEntity.CopyFromSource(object)
    BaseEntity.TrackChanges
    BaseEntity.ModifiedByUserID_Label
    BaseEntity.ModifiedByUserID_Label_Silent
    BaseEntity.CanvasID_Label
    BaseEntity.CanvasID_Label_Silent
    BaseEntity.AlgorithmStepID_Label
    BaseEntity.AlgorithmStepID_Label_Silent
    BaseEntity.SafeID_Label
    BaseEntity.SafeID_Label_Silent
    BaseEntity.AccountID
    BaseEntity.ID
    BaseEntity.LastUpdated
    BaseEntity.ModifiedByUserID
    BaseEntity.CanvasID
    BaseEntity.AlgorithmStepID
    BaseEntity.SafeID
    BaseEntity.PropertyChanged
    BaseEntity.PropertyChanging
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Entities.Design
    Assembly: LemonEdge.API.Entities.Auto.dll
    Syntax
    [DataContract]
    public class CustomGridColumn : BaseEntity, ICustomGridColumn, IShareAcrossAccounts, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ICustomGridColumn>

    Constructors

    CustomGridColumn()

    Declaration
    public CustomGridColumn()

    Properties

    AggregateFunction

    Indicates any aggregate function to apply to footer/groupings of this column.

    Declaration
    [EnumDataType(typeof(AggregateFunction))]
    public AggregateFunction AggregateFunction { get; set; }
    Property Value
    Type Description
    AggregateFunction

    AggregateFunction_Tooltip

    Declaration
    [NotMapped]
    public string AggregateFunction_Tooltip { get; set; }
    Property Value
    Type Description
    string

    AllowFiltering

    Indicates if the user can filter by this column.

    Declaration
    public bool AllowFiltering { get; set; }
    Property Value
    Type Description
    bool

    AllowSorting

    Indicates if the user can sort by this column.

    Declaration
    public bool AllowSorting { get; set; }
    Property Value
    Type Description
    bool

    CustomGridID

    [Key] Links to ICustomGrid. The parent custom grid this entity is a member of

    Declaration
    public Guid? CustomGridID { get; set; }
    Property Value
    Type Description
    Guid?

    CustomGridID_Label

    Declaration
    public string CustomGridID_Label { get; set; }
    Property Value
    Type Description
    string

    CustomGridID_Label_Silent

    Declaration
    [NotMapped]
    public string CustomGridID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    CustomLookupQueryFilterID

    [Key] Links to ICustomLookupQuery. The custom lookup query to use for selecting this value

    Declaration
    public Guid? CustomLookupQueryFilterID { get; set; }
    Property Value
    Type Description
    Guid?

    CustomLookupQueryFilterID_Label

    Declaration
    public string CustomLookupQueryFilterID_Label { get; set; }
    Property Value
    Type Description
    string

    CustomLookupQueryFilterID_Label_Silent

    Declaration
    [NotMapped]
    public string CustomLookupQueryFilterID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    Format

    Any custom formatting to apply to the display for this column.

    Declaration
    [StringLength(50)]
    public string Format { get; set; }
    Property Value
    Type Description
    string

    FormulaValue

    The formula to use to evaluate the value that should be displayed against this control

    Declaration
    [PropertyValidation("!string.IsNullOrEmpty(MyItem.PropertyType)", "!string.IsNullOrEmpty(MyItem.FormulaValue)", "You must enter a FormulaValue for use with a PropertyType.")]
    public string FormulaValue { get; set; }
    Property Value
    Type Description
    string

    GroupinName

    The grouping name to apply to this column header.

    Declaration
    [StringLength(500)]
    public string GroupinName { get; set; }
    Property Value
    Type Description
    string

    IsEditable

    Indicates if the user has permission that they can edit the data in this column. If they don't have permissions they will be unable to edit this field regardless if it is true or not.

    Declaration
    public bool IsEditable { get; set; }
    Property Value
    Type Description
    bool

    IsShared

    Indicates this record is a shared record. Only the root account can edit items that are shared records

    Declaration
    public bool IsShared { get; set; }
    Property Value
    Type Description
    bool

    IsVisible

    Indicates if this column should initially be visible to the user.

    If not the user can still make it visible through our standard grid commands and can see the data when exporting the grid to excel.

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    bool

    PropName

    The name of the property you want to appear as a column in the grid.

    The system provides a drop down list of all properties against the Entity Type of this Custom Grid.

    Declaration
    [PropertyValidation("string.IsNullOrEmpty(MyItem.PropName)", "!string.IsNullOrEmpty(MyItem.PropertyType)", "You must select PropertyName or a PropertyType with a FormulaValue.")]
    [StringLength(500)]
    public string PropName { get; set; }
    Property Value
    Type Description
    string

    PropertyEntityType

    The type of entity if this control is using a formula that returns an id to a unique entity in the system

    Declaration
    public Guid? PropertyEntityType { get; set; }
    Property Value
    Type Description
    Guid?

    PropertyType

    The type of property for this control if using a formula. Can be blank if using a direct Property instead

    Declaration
    [PropertyValidation("string.IsNullOrEmpty(MyItem.PropertyType)", "!string.IsNullOrEmpty(MyItem.PropName)", "You must select PropertyName or a PropertyType with a FormulaValue.")]
    [StringLength(500)]
    public string PropertyType { get; set; }
    Property Value
    Type Description
    string

    Sequence

    [Key] The sequence specifies which order this column should appear in the grid.

    This field is hidden in the grid, but you can show it using our standard grid commands. You can easily change it using the Move Up/Down commands too.

    Declaration
    public short Sequence { get; set; }
    Property Value
    Type Description
    short

    SortOrder

    Indicates the default order for the grid

    Declaration
    [EnumDataType(typeof(Order))]
    public Order SortOrder { get; set; }
    Property Value
    Type Description
    Order

    SortOrder_Tooltip

    Declaration
    [NotMapped]
    public string SortOrder_Tooltip { get; set; }
    Property Value
    Type Description
    string

    Tooltip

    By default the tooltip will be the description (if any) of this property against the entity in the design. You can override that by putting a custom tooltip here.

    Declaration
    [StringLength(500)]
    public string Tooltip { get; set; }
    Property Value
    Type Description
    string

    TransactionCodeID

    Declaration
    public Guid? TransactionCodeID { get; set; }
    Property Value
    Type Description
    Guid?

    TransactionCodeID_Label

    Declaration
    public string TransactionCodeID_Label { get; set; }
    Property Value
    Type Description
    string

    TransactionCodeID_Label_Silent

    Declaration
    [NotMapped]
    public string TransactionCodeID_Label_Silent { get; set; }
    Property Value
    Type Description
    string

    UserFriendlyLabel

    The column name will by default be the property name or the user friendly version of it. You can override that by putting a custom column header name here.

    Declaration
    [StringLength(500)]
    public string UserFriendlyLabel { get; set; }
    Property Value
    Type Description
    string

    Width

    The width of this column.

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    int

    Methods

    CopyFromEntity(IBaseEntity)

    Declaration
    protected override void CopyFromEntity(IBaseEntity src)
    Parameters
    Type Name Description
    IBaseEntity src
    Overrides
    BaseEntity.CopyFromEntity(IBaseEntity)

    CopyFromSource(ICustomGridColumn)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(ICustomGridColumn source)
    Parameters
    Type Name Description
    ICustomGridColumn source

    The source object to copy all values from.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    ICustomGridColumn
    IShareAcrossAccounts
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<T>

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.