# SyGridBatchCommitReport

Fields, allowed values, and APIs that use SyGridBatchCommitReport.

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

<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 SyGridBatchCommitReport {
  status: 'committed' | 'rejected' | 'cancelled' | 'none';
  mutationId: GridMutationId | null;
  writtenCount: number;
  rejectedCells: ReadonlyArray<SyGridEditRejectedCell>;
  transactionRejectedRowIds: ReadonlyArray<GridRowId>;
  sessionOpen: boolean;
}
```

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

## APIs using this type

- [commitBatchEdit](https://grid.syidax.com/docs/methods/commitBatchEdit.md) — Validates and commits staged changes, reporting per-cell results.

<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)
