# SyGridRowDragCancelDetail

Fields, allowed values, and APIs that use SyGridRowDragCancelDetail.

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

<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 SyGridRowDragCancelDetail {
  readonly dragId: string;
  readonly item: SyGridRowDragItem | null;
  readonly reason: SyGridRowDragEndReason;
  readonly cause: SyGridDragOrphanCause | 'escape' | 'cancel' | 'no-target' | 'keyboard';
  readonly residue: ReadonlyArray<string>;
}
```

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

## APIs using this type

- [rowDragCancel](https://grid.syidax.com/docs/events/rowDragCancel.md) — Emitted when row dragging is cancelled. Do not run completion actions or save server ordering.

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

## Contracts containing this type

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

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

## Related types

- [SyGridRowDragItem](https://grid.syidax.com/docs/types/SyGridRowDragItem.md)
- [SyGridRowDragEndReason](https://grid.syidax.com/docs/types/SyGridRowDragEndReason.md)
- [SyGridDragOrphanCause](https://grid.syidax.com/docs/types/SyGridDragOrphanCause.md)
