@helix-x/datagrid-ui - v0.1.2
    Preparing search index...

    Interface EditState<T>

    The row currently being edited.

    interface EditState<T> {
        draft: T;
        errors: Record<string, string>;
        isSaving: boolean;
        original: T;
        rowId: RowId;
    }

    Type Parameters

    • T

      The row type.

    Index
    draft: T

    The working copy, updated as the user types.

    errors: Record<string, string>

    Server-supplied messages from the last rejected commit, keyed by column id.

    isSaving: boolean

    True while a commit is in flight.

    original: T

    The row as it was when editing started, for cancel and for the commit callback.

    rowId: RowId

    Which row is open.