apex-grid
    Preparing search index...

    Interface GridExpansionConfiguration<T>

    Grid-level row-expansion (master-detail) configuration.

    interface GridExpansionConfiguration<T extends object> {
        detailTemplate?: (context: ApexDetailContext<T>) => unknown;
        enabled?: boolean;
        isExpandable?: (row: T) => boolean;
        showToggleColumn?: boolean;
    }

    Type Parameters

    • T extends object
    Index

    Properties

    detailTemplate?: (context: ApexDetailContext<T>) => unknown

    Callback that produces the detail panel content for an expanded row. Required when enabled is true.

    enabled?: boolean

    Whether row expansion is enabled. Disabled by default.

    isExpandable?: (row: T) => boolean

    Optional per-row predicate that gates which rows may be expanded. When omitted, every row is expandable.

    showToggleColumn?: boolean

    Whether to render the built-in chevron toggle column at the start of every row (after the selection column, when present). Defaults to true. Set to false to drive expansion entirely through the public API or a custom cell template.