# batchEditEnd

Emitted when batch editing commits or cancels. Inspect the end reason and results.

Canonical: https://grid.syidax.com/docs/events/batchEditEnd/

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

## What does this API do?

Emitted when batch editing commits or cancels. Inspect the end reason and results.

API for Pro features: Batch editing

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

## Exact input and result types

```typescript
batchEditEnd: SyGridBatchEditEndEventDetail
```

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

## Usage flow

Subscribe with grid.addEventListener('batchEditEnd', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.

```javascript
const controller = new AbortController();
grid.addEventListener('batchEditEnd', event => {
  console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();
```

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

## Read related types

- [SyGridBatchEditEndEventDetail](https://grid.syidax.com/docs/types/SyGridBatchEditEndEventDetail.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.
