# GridMountedComponentLookup

Fields, allowed values, and APIs that use GridMountedComponentLookup.

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

<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 type GridMountedComponentLookup<TInstance, TParams, TGui> =
  | {
      readonly status: 'mounted';
      readonly key: string;
      readonly generation: number;
      readonly instance: TInstance;
      readonly params: TParams;
      readonly gui: TGui;
    }
  | {
      readonly status: 'unmounted';
      readonly key: string;
    };
```

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

## APIs using this type

- [getCellEditorInstance](https://grid.syidax.com/docs/methods/getCellEditorInstance.md) — Reads the mounted cell editor instance and context, or null if no editor exists.

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

## Contracts containing this type

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