apex-grid
    Preparing search index...

    Interface ApexCellValueChangingEvent<T>

    Event payload for the cancellable cellValueChanging event.

    interface ApexCellValueChangingEvent<T extends object> {
        data: T;
        key: keyof T;
        newValue: unknown;
        oldValue: unknown;
        rowIndex: number;
    }

    Type Parameters

    • T extends object
    Index

    Properties

    data: T

    The data record being edited (a live reference to the row in ApexGrid.data).

    key: keyof T

    The column key of the edited cell.

    newValue: unknown

    The candidate new value.

    oldValue: unknown

    The value before the edit.

    rowIndex: number

    The view-relative row index (matches ApexGrid.pageItems).