Member Junction
    Preparing search index...

    Configuration for the tree's branch (category/folder) entity. Branches can contain other branches and/or leaf nodes.

    interface TreeBranchConfig {
        BadgeField?: string;
        CacheLocal?: boolean;
        ColorField?: string;
        DefaultColor?: string;
        DefaultIcon?: string;
        DescriptionField?: string;
        DisplayField?: string;
        EntityName: string;
        ExtraFilter?: string;
        IconField?: string;
        IDField?: string;
        OrderBy?: string;
        ParentIDField?: string;
    }
    Index

    Properties

    BadgeField?: string

    Optional field for badge/count display

    CacheLocal?: boolean

    Whether to cache results locally (default: true)

    ColorField?: string

    Field name for icon/folder color

    DefaultColor?: string

    Default color if ColorField not provided

    DefaultIcon?: string

    Static icon if IconField not provided (default: 'fa-solid fa-folder')

    DescriptionField?: string

    Optional field to show as secondary text/description

    DisplayField?: string

    Field to display as node label (default: 'Name')

    EntityName: string

    Entity name for branch nodes (e.g., 'MJ: Query Categories')

    ExtraFilter?: string

    Optional extra filter for RunView

    IconField?: string

    Field name for node icon (dynamic per-node)

    IDField?: string

    Primary key field (default: 'ID')

    OrderBy?: string

    Optional order by clause (default: 'Name ASC')

    ParentIDField?: string

    Parent ID field for hierarchy (default: 'ParentID')