@helix-x/datagrid-ui - v0.1.2
    Preparing search index...

    Interface ColumnLayoutItem<T, C>

    Geometry for one visible column, computed once per layout change.

    interface ColumnLayoutItem<T, C = unknown> {
        colId: string;
        column: ResolvedColumn<T, C>;
        left: number;
        pinned?: Pinned;
        stickyOffset: number;
        width: number;
    }

    Type Parameters

    • T

      The row type.

    • C = unknown

      The context type.

    Index
    colId: string

    Convenience copy of column.colId.

    column: ResolvedColumn<T, C>

    The column this geometry belongs to.

    left: number

    Offset from the left edge of the full (unscrolled) column strip.

    pinned?: Pinned

    Which edge this column is pinned to, if any.

    stickyOffset: number

    left/right offset to use for position: sticky on pinned columns.

    width: number

    Final pixel width, after flex distribution and user resizing.