View as Markdown

API reference: @salmonui/data-grid/engine

EditSetValueCommandtype

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

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

type EditSetValueCommand = {
    type: 'edit.setValue';
    rowId: RowId;
    columnId: ColumnId;
    value: Json;
};

value is the editor input; the column parser converts it (dates as ISO strings).

EditSetValueCommand members (4)
NameSignatureDescription
typetype: 'edit.setValue';
rowIdrowId: RowId;
columnIdcolumnId: ColumnId;
valuevalue: Json;