# getPendingBatchCells

Reads uncommitted batch editing cells.

Canonical: https://grid.syidax.com/docs/methods/getPendingBatchCells/

<a id="meaning"></a>

## What does this API do?

Reads uncommitted batch editing cells.

API for Pro features: Batch editing

<a id="contract"></a>

## Exact input and result types

```typescript
getPendingBatchCells(): Promise<SyGridPendingBatchCell[]>
```

| Arguments | Required | Type |
| --- | --- | --- |

The return type is `Promise<SyGridPendingBatchCell[]>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.getPendingBatchCells(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="types"></a>

## Read related types

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

<a id="recipes"></a>

## Feature explanations and examples

- [Batch editing](https://grid.syidax.com/docs/features/batch-editing.md) — Batch editing stages changes to multiple cells for a single commit or cancellation. Distinguish staged values from committed rowData to make the Save action clear.
