# GridRendererDefinition

Fields, allowed values, and APIs that use GridRendererDefinition.

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

<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 GridRendererDefinition<
  TRow = Record<string, unknown>,
  TValue = unknown,
  TContext = unknown,
> = GridComponentDefinition<
  GridRendererInstance<TRow, TValue, TContext>,
  GridRendererParams<TRow, TValue, TContext>
>;
```

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

## APIs using this type

- [cellRenderer](https://grid.syidax.com/docs/columns/cellRenderer.md) — Displays cells through text, html, vnode, or a registered custom renderer.

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

## Contracts containing this type

- [ColumnDef](https://grid.syidax.com/docs/types/ColumnDef.md)
- [GridComponentDefinitionMap](https://grid.syidax.com/docs/types/GridComponentDefinitionMap.md)
- [GridComponentLocalDefinitions](https://grid.syidax.com/docs/types/GridComponentLocalDefinitions.md)

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

## Related types

- [GridComponentDefinition](https://grid.syidax.com/docs/types/GridComponentDefinition.md)
- [GridRendererInstance](https://grid.syidax.com/docs/types/GridRendererInstance.md)
- [GridRendererParams](https://grid.syidax.com/docs/types/GridRendererParams.md)
