apex-grid
    Preparing search index...

    Interface BaseApexCellContext<T, K>

    Context object for the row cell template callback.

    interface BaseApexCellContext<T extends object, K extends Keys<T> = Keys<T>> {
        column: ColumnConfiguration<T, K>;
        commit?: (value: PropertyType<T, K>) => Promise<boolean>;
        parent: ApexGridCell<T>;
        row: ApexGridRow<T>;
        value: PropertyType<T, K>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    The current configuration for the column.

    commit?: (value: PropertyType<T, K>) => Promise<boolean>

    Commits a new value for this cell without entering edit mode. Available when the column is editable. Used by interactive display widgets (e.g. the built-in boolean checkbox) so they can toggle inline.

    Goes through the cancellable cellValueChanging event and follow-up cellValueChanged event — same write path as an edit-mode commit.

    parent: ApexGridCell<T>

    The cell element parent of the template.

    row: ApexGridRow<T>

    The row element containing the cell.

    value: PropertyType<T, K>

    The value from the data source for this cell.