Backstage
    Preparing search index...

    Interface ColumnConfig<T>

    Configuration for a single table column.

    interface ColumnConfig<T extends TableItem> {
        cell: (item: T) => ReactElement;
        defaultWidth?: ColumnSize | null;
        header?: () => ReactElement;
        id: string;
        isHidden?: boolean;
        isRowHeader?: boolean;
        isSortable?: boolean;
        label: string;
        maxWidth?: ColumnStaticSize | null;
        minWidth?: ColumnStaticSize | null;
        width?: ColumnSize | null;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    cell: (item: T) => ReactElement

    Renders the cell content for this column.

    Important: The returned element must be a cell component at the top level — either Cell, CellText, or CellProfile. Returning bare text, fragments, or other elements without a cell wrapper will break the table layout.

    cell: item => <CellText title={item.name} />
    
    defaultWidth?: ColumnSize | null
    header?: () => ReactElement
    id: string
    isHidden?: boolean
    isRowHeader?: boolean
    isSortable?: boolean
    label: string
    maxWidth?: ColumnStaticSize | null
    minWidth?: ColumnStaticSize | null
    width?: ColumnSize | null