View as Markdown

API reference: @salmonui/data-grid/engine

EditUpdateRowCommandtype

import type { EditUpdateRowCommand } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid/engine/edit.

type EditUpdateRowCommand = {
    type: 'edit.updateRow';
    rowId: RowId;
    values: JsonObject;
};

updateRow(): writes the values (by column id) at once, validated.

EditUpdateRowCommand members (3)
NameSignatureDescription
typetype: 'edit.updateRow';
rowIdrowId: RowId;
valuesvalues: JsonObject;