# setConflictChoice (@salmonui/data)

> The setConflictChoice function of @salmonui/data: Returns a new review with one cell's choice changed (columnId omitted: every cell of the row).

Canonical: https://salmonui.dev/docs/reference/data/setConflictChoice

```ts
import { setConflictChoice } from '@salmonui/data';
```

Entry index: https://salmonui.dev/docs/reference/data (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data.md).

## Reference

Kind: function

```ts
function setConflictChoice<Row>(review: ConflictReview<Row>, rowId: RowId, choice: ConflictChoice, columnId?: ColumnId): ConflictReview<Row>;
```

Returns a new review with one cell's choice changed (`columnId` omitted: every cell of the row).
