apex-grid
    Preparing search index...

    Interface ApexColumnMovingEvent<T>

    Event payload for the cancellable columnMoving event.

    interface ApexColumnMovingEvent<T extends object> {
        fromIndex: number;
        key: keyof T;
        position: ColumnDropPosition;
        toKey: keyof T;
    }

    Type Parameters

    • T extends object
    Index

    Properties

    fromIndex: number

    The current index of the moving column in ApexGrid.columns.

    key: keyof T

    The column being moved.

    Whether the dragged column is being placed before or after toKey.

    toKey: keyof T

    The target column key. The dragged column will be placed position (before/after) this column.