blessed-components - v1.20.0
    Preparing search index...

    Interface VirtualTableColumn<TRow>

    Column definition for renderVirtualTable.

    interface VirtualTableColumn<
        TRow extends Record<string, unknown> = Record<string, unknown>,
    > {
        key: keyof TRow & string;
        header?: string;
        width?: number;
    }

    Type Parameters

    • TRow extends Record<string, unknown> = Record<string, unknown>
    Index

    Properties

    Properties

    key: keyof TRow & string

    Row object key.

    header?: string

    Header label. Defaults to key.

    width?: number

    Fixed terminal-cell width. Defaults to max visible content width.