# spanConflict

Emitted when cell spans conflict with other ranges or layouts.

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

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

## What does this API do?

Emitted when cell spans conflict with other ranges or layouts.

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

## Exact input and result types

```typescript
spanConflict: SyGridSpanConflictEventDetail
```

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

## Usage flow

Subscribe with grid.addEventListener('spanConflict', 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('spanConflict', event => {
  console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();
```

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

## Read related types

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

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

## Feature explanations and examples

- [Row height and pinned rows](https://grid.syidax.com/docs/features/row-layout.md) — Row height, top/bottom pinned rows, full-width rows, and merged cells are separate layout features. Choose based on whether you need persistent summaries or wide detail content.
