# SyGridStateApplyReport

Fields, allowed values, and APIs that use SyGridStateApplyReport.

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

<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 SyGridStateApplyReport {
  readonly ok: boolean;
  readonly issues: readonly SyGridStateEnvelopeIssue[];
  readonly appliedSlices: readonly SyGridStateSliceKey[];
  readonly requestedAbsentSlices: readonly SyGridStateSliceKey[];
  readonly unrestorableSlices: readonly SyGridStateSliceKey[];
  readonly columns: ColumnsSliceApplyResult['report'] | null;
  readonly filter: FilterSliceApplyResult['report'] | null;
  readonly rows: RowsSlicesApplyResult['report'] | null;
  readonly uiUnavailable: readonly UiRestorePlan['unavailable'][number][];
  readonly afterDataPending: boolean;
  readonly appliedMigrations: readonly string[];
  readonly droppedSlices: readonly { slice: string; reason: string }[];
}
```

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

## APIs using this type

- [setState](https://grid.syidax.com/docs/methods/setState.md) — Restores complete or selected state slices and returns applied/issue reports. Only slices in appliedSlices were actually applied.

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

## Contracts containing this type

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

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

## Related types

- [SyGridStateEnvelopeIssue](https://grid.syidax.com/docs/types/SyGridStateEnvelopeIssue.md)
- [SyGridStateSliceKey](https://grid.syidax.com/docs/types/SyGridStateSliceKey.md)
- [ColumnsSliceApplyResult](https://grid.syidax.com/docs/types/ColumnsSliceApplyResult.md)
- [FilterSliceApplyResult](https://grid.syidax.com/docs/types/FilterSliceApplyResult.md)
- [RowsSlicesApplyResult](https://grid.syidax.com/docs/types/RowsSlicesApplyResult.md)
- [UiRestorePlan](https://grid.syidax.com/docs/types/UiRestorePlan.md)
