Member Junction
    Preparing search index...

    Configuration for a query grid column Derived from QueryFieldInfo metadata

    interface QueryGridColumnConfig {
        align?: "left" | "center" | "right";
        description?: string;
        field: string;
        flex?: number;
        isEntityLink: boolean;
        isForeignKey?: boolean;
        isPrimaryKey?: boolean;
        maxWidth?: number;
        minWidth?: number;
        order: number;
        pinned?: "left" | "right" | null;
        reorderable: boolean;
        resizable: boolean;
        sortable: boolean;
        sourceEntityId?: string;
        sourceEntityName?: string;
        sourceFieldName?: string;
        sqlBaseType: string;
        sqlFullType: string;
        targetEntityIcon?: string;
        targetEntityId?: string;
        targetEntityName?: string;
        title: string;
        visible: boolean;
        width?: number;
    }
    Index

    Properties

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

    Text alignment

    description?: string

    Description/tooltip for the column header

    field: string

    Field name from query results

    flex?: number

    Flex grow factor for auto-sizing

    isEntityLink: boolean

    Whether this column contains linkable entity IDs

    isForeignKey?: boolean

    Whether this field is a foreign key to another entity

    isPrimaryKey?: boolean

    Whether this field is a primary key of the source entity

    maxWidth?: number

    Maximum width for resizing

    minWidth?: number

    Minimum width for resizing

    order: number

    Order/sequence of this column

    pinned?: "left" | "right" | null

    Column pinning position

    reorderable: boolean

    Column is reorderable

    resizable: boolean

    Column is resizable

    sortable: boolean

    Column is sortable (client-side)

    sourceEntityId?: string

    Source entity ID if this column references an entity

    sourceEntityName?: string

    Source entity name if this column references an entity

    sourceFieldName?: string

    Source field name in the entity (e.g., 'ID' for primary key)

    sqlBaseType: string

    SQL base type for formatting

    sqlFullType: string

    SQL full type for display

    targetEntityIcon?: string

    Icon class for the target entity (from EntityInfo.Icon) Used to display the entity's icon in the column header

    targetEntityId?: string

    The entity ID to navigate to when clicking the link.

    targetEntityName?: string

    The entity name to navigate to when clicking the link.

    • For primary keys: this is the source entity itself
    • For foreign keys: this is the related entity the FK points to
    title: string

    Display title (defaults to field name)

    visible: boolean

    Column is visible

    width?: number

    Column width in pixels