# SyGridRowEditReport

Fields, allowed values, and APIs that use SyGridRowEditReport.

Canonical: https://grid.syidax.com/docs/types/SyGridRowEditReport/

<a id="definition"></a>

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

```typescript
export interface SyGridRowEditReport {
  status: 'committed' | 'rejected' | 'cancelled' | 'none';
  mutationId: GridMutationId | null;
  writtenCount: number;
  rejectedCells: ReadonlyArray<SyGridEditRejectedCell>;
  rowInvalid: {
    cellReasons: Readonly<Record<string, string>> | null;
    rowReason: string | null;
  } | null;
  droppedCount: number;
  transactionRejectedRowIds: ReadonlyArray<GridRowId>;
}
```

<a id="used-by"></a>

## APIs using this type

- [stopRowEdit](https://grid.syidax.com/docs/methods/stopRowEdit.md) — Commits or cancels current row editing and returns a report.

<a id="parents"></a>

## Contracts containing this type

- [SyGridImperativeMethods](https://grid.syidax.com/docs/types/SyGridImperativeMethods.md)

<a id="related"></a>

## Related types

- [GridMutationId](https://grid.syidax.com/docs/types/GridMutationId.md)
- [SyGridEditRejectedCell](https://grid.syidax.com/docs/types/SyGridEditRejectedCell.md)
- [GridRowId](https://grid.syidax.com/docs/types/GridRowId.md)
