Member Junction
    Preparing search index...

    Context provided to custom editor templates

    interface GridEditorTemplateContext {
        cancelEdit: () => void;
        column: GridColumnConfig;
        commitEdit: (newValue: unknown) => void;
        row: Record<string, unknown>;
        rowIndex: number;
        value: unknown;
    }
    Index

    Properties

    cancelEdit: () => void

    Function to cancel the edit

    Column configuration

    commitEdit: (newValue: unknown) => void

    Function to commit the edit with a new value

    row: Record<string, unknown>

    The row data (entity)

    rowIndex: number

    Row index in the current view

    value: unknown

    Current cell value