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

    Interface RenderVirtualTableOptions<TRow>

    Options accepted by renderVirtualTable.

    interface RenderVirtualTableOptions<
        TRow extends Record<string, unknown> = Record<string, unknown>,
    > {
        columns: readonly VirtualTableColumn<TRow>[];
        height?: number;
        rowCount?: number;
        start?: number;
        rows: readonly TRow[];
        width?: number;
    }

    Type Parameters

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

    Properties

    columns: readonly VirtualTableColumn<TRow>[]

    Visible columns.

    height?: number

    Maximum rendered height.

    rowCount?: number

    Maximum number of body rows to render.

    start?: number

    First body row index.

    rows: readonly TRow[]

    All rows.

    width?: number

    Maximum terminal-cell width of each line.