# GridComponentDefinition

Fields, allowed values, and APIs that use GridComponentDefinition.

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

<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 GridComponentDefinition<TInstance, TParams> =
  | GridEagerComponentDefinition<TInstance, TParams>
  | GridComponentLazyDefinition<TInstance, TParams>;
```

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

## Contracts containing this type

- [GridEditorDefinition](https://grid.syidax.com/docs/types/GridEditorDefinition.md)
- [GridFilterDefinition](https://grid.syidax.com/docs/types/GridFilterDefinition.md)
- [GridFloatingFilterDefinition](https://grid.syidax.com/docs/types/GridFloatingFilterDefinition.md)
- [GridRendererDefinition](https://grid.syidax.com/docs/types/GridRendererDefinition.md)

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

## Related types

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