@timlassiter11/yatl
    Preparing search index...

    Interface ColumnState<T>

    Represents the current state of a column.

    interface ColumnState<T extends object = UnspecifiedRecord> {
        field: NestedKeyOf<T>;
        sort: SortState | null;
        stickyPosition: ColumnStickyPosition;
        visible: boolean;
        width: number | null;
    }

    Type Parameters

    Index

    Properties

    field: NestedKeyOf<T>

    The unique field name of the column.

    sort: SortState | null

    The current sort order of the column.

    stickyPosition: ColumnStickyPosition

    Sticks the column to a specific side of the table, keeping it in view when the user horizontally scrolls past it.

    false
    
    visible: boolean

    The current visibility of the column.

    width: number | null

    The currently set width of the column in pixels.