Member Junction
    Preparing search index...

    Column descriptor with full display configuration for grid/table rendering. Most consumers don't need this — it's specific to the grid renderer.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    align?: "left" | "center" | "right"
    description?: string

    Human-readable description of what this column represents

    displayName?: string

    Human-readable display name for headers, labels, and tooltips

    field: string

    Field name in the row data — the key used to access the value: row[field]

    flex?: number
    isComputed?: boolean

    True for calculated expressions: CASE, ROUND, CONCAT, etc.

    isSummary?: boolean

    True for aggregate functions: SUM, COUNT, AVG, etc.

    maxWidth?: number
    minWidth?: number
    order: number = 0
    pinned?: "left" | "right"
    reorderable: boolean = true
    resizable: boolean = true
    sortable: boolean = true
    sourceEntity?: string

    MJ entity name this column originates from (e.g., "Customers")

    sourceFieldName?: string

    Field name in that entity (e.g., "ID", "FirstName")

    sqlBaseType?: SQLBaseType

    SQL base type — source of truth for formatting in MJ

    sqlFullType?: string

    Full SQL type with precision/scale: 'decimal(18,2)', 'nvarchar(255)'

    visible: boolean = true
    width?: number

    Column width in pixels (hint for renderers)

    Methods

    • Create from a SimpleQueryFieldInfo (bridges legacy component data requirements)

      Parameters

      • field: {
            description?: string;
            isSummary?: boolean;
            name: string;
            sourceEntity?: string;
            sourceFieldName?: string;
            type?: string;
        }

      Returns MJColumnDescriptor