# GridFieldPathLevel2

Fields, allowed values, and APIs that use GridFieldPathLevel2.

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

<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
type GridFieldPathLevel2<T> = {
  [K in StringKey<T>]:
    | K
    | (NestedObject<T[K]> extends never
      ? never
      : `${K}.${StringKey<NestedObject<T[K]>>}`);
}[StringKey<T>];
```

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

## Contracts containing this type

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

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

## Related types

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