View as Markdown

API reference: @salmonui/data-grid/engine

EditUpdateCellCommandtype

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

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

type EditUpdateCellCommand = {
    type: 'edit.updateCell';
    rowId: RowId;
    columnId: ColumnId;
    value: Json;
};

updateCell(): batch mode keeps a draft; other modes write at once.

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