API reference: @salmonui/data-grid/engine
LocalDataPatchinterface
import type { LocalDataPatch } from '@salmonui/data-grid/engine';interface LocalDataPatch<Row> {
readonly append?: readonly Row[];
readonly upsert?: readonly Row[];
readonly remove?: readonly RowId[];
}
| Name | Signature | Description |
|---|---|---|
appendoptional | readonly append?: readonly Row[]; | |
upsertoptional | readonly upsert?: readonly Row[]; | Replaces rows with a matching id; unknown ids are appended. |
removeoptional | readonly remove?: readonly RowId[]; |