Member Junction
    Preparing search index...

    Interface MJUserViewEntity_IColumnConditionalRule

    Conditional formatting rule for dynamic cell styling in the entity data grid.

    Used inside MJUserViewEntity_IColumnFormat.conditionalRules. Rules are evaluated in order; the first match wins. Each rule compares the cell value against a condition and applies the associated MJUserViewEntity_IColumnTextStyle when the condition is met.

    interface MJUserViewEntity_IColumnConditionalRule {
        condition:
            | "equals"
            | "notEquals"
            | "greaterThan"
            | "lessThan"
            | "greaterThanOrEqual"
            | "lessThanOrEqual"
            | "between"
            | "contains"
            | "startsWith"
            | "endsWith"
            | "isEmpty"
            | "isNotEmpty";
        style: MJUserViewEntity_IColumnTextStyle;
        value?: string
        | number
        | boolean;
        value2?: number;
    }
    Index

    Properties

    condition:
        | "equals"
        | "notEquals"
        | "greaterThan"
        | "lessThan"
        | "greaterThanOrEqual"
        | "lessThanOrEqual"
        | "between"
        | "contains"
        | "startsWith"
        | "endsWith"
        | "isEmpty"
        | "isNotEmpty"

    Condition type

    Style to apply when condition is met

    value?: string | number | boolean

    Value to compare against

    value2?: number

    Second value for 'between' condition