Member Junction
    Preparing search index...

    Interface MJUserViewEntity_IColumnFormat

    Column formatting configuration for the entity data grid.

    Controls value display (number/currency/date/boolean formatting), text alignment, header and cell styling, and conditional formatting rules. Used inside MJUserViewEntity_IGridColumnSetting.format.

    Setting type: 'auto' tells the grid to infer formatting from entity field metadata.

    interface MJUserViewEntity_IColumnFormat {
        align?: "left" | "right" | "center";
        booleanDisplay?: "text" | "checkbox" | "icon";
        cellStyle?: MJUserViewEntity_IColumnTextStyle;
        conditionalRules?: MJUserViewEntity_IColumnConditionalRule[];
        currencyCode?: string;
        dateFormat?: string;
        decimals?: number;
        falseLabel?: string;
        headerStyle?: MJUserViewEntity_IColumnTextStyle;
        thousandsSeparator?: boolean;
        trueLabel?: string;
        type?:
            | "number"
            | "boolean"
            | "date"
            | "text"
            | "auto"
            | "currency"
            | "percent"
            | "datetime";
    }
    Index

    Properties

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

    Text alignment

    booleanDisplay?: "text" | "checkbox" | "icon"

    How to display boolean values

    Cell styling (applies to all cells in the column)

    Conditional formatting rules (applied in order, first match wins)

    currencyCode?: string

    Currency code (ISO 4217) for currency type, e.g. 'USD', 'EUR'

    dateFormat?: string

    Date format preset or custom pattern

    decimals?: number

    Decimal places for number/currency/percent types

    falseLabel?: string

    Label to display for false values (boolean type)

    Header styling (bold, italic, color, etc.)

    thousandsSeparator?: boolean

    Show thousands separator for number types

    trueLabel?: string

    Label to display for true values (boolean type)

    type?:
        | "number"
        | "boolean"
        | "date"
        | "text"
        | "auto"
        | "currency"
        | "percent"
        | "datetime"

    Format type — 'auto' uses smart defaults based on field metadata