@yarcl/react
    Preparing search index...

    Interface TableColumnState<Id>

    Resolved column state consumed by a colgroup, headers, cells and visibility controls.

    interface TableColumnState<Id extends string = string> {
        hideable: boolean;
        id: Id;
        label: string;
        visible: boolean;
        width: number;
    }

    Type Parameters

    • Id extends string = string
    Index
    hideable: boolean

    Whether the column can currently be hidden, respecting required columns and the last visible column.

    id: Id

    Stable column identifier.

    label: string

    Human-readable column label.

    visible: boolean

    Whether the header and cells should be rendered.

    width: number

    Accepted width in CSS pixels.