# SyGridPreDestroyedDetail

Fields, allowed values, and APIs that use SyGridPreDestroyedDetail.

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

<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 SyGridPreDestroyedDetail {
  state: SyGridState;
  captureIssues: ReadonlyArray<{ path: string; detail: string }>;
}
```

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

## APIs using this type

- [preDestroyed](https://grid.syidax.com/docs/events/preDestroyed.md) — Provides state and capture issues before the Grid is destroyed. Use for saving view preferences and cleaning up resources.

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

## Contracts containing this type

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

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

## Related types

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