Trevixal API
    Preparing search index...

    Interface TableSizing

    Explicit sizes for a whole table, in px.

    The resize handles commit one of these per drag, every column at once, because table-layout: fixed shares whatever width the sized columns leave over among the unsized ones. Setting only the dragged column therefore moved every other column too, and the next drag moved the first one again. With every column pinned there is nothing left to redistribute.

    Widths are written to the cells' width, which the kit's stylesheet makes border-box: a column is then exactly as wide as the cells in it, so what the handles measure is what they write back.

    interface TableSizing {
        columnWidths?: readonly number[];
        rowHeights?: readonly (number | null | undefined)[];
        width?: number | null;
    }
    Index
    columnWidths?: readonly number[]

    Width of every grid column, left to right.

    rowHeights?: readonly (number | null | undefined)[]

    Height of each row, top to bottom. null clears a row's height and a missing (undefined) entry leaves that row as it is, so a single-row drag passes a sparse array.

    width?: number | null

    The table's own width; null clears it.