# GridRendererParams

Fields, allowed values, and APIs that use GridRendererParams.

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

<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 GridRendererParams<
  TRow = Record<string, unknown>,
  TValue = unknown,
  TContext = unknown,
> extends CellRendererInput<TRow, TValue>,
    GridComponentParams<TContext> {
  readonly valueFormatted?: string;
  readonly cellElement?: HTMLElement;
  readonly setTooltip: (value: string | null) => void;
  readonly handoffFocus: (target: GridFocusHandoff) => void;
}
```

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

## Contracts containing this type

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

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

## Related types

- [CellRendererInput](https://grid.syidax.com/docs/types/CellRendererInput.md)
- [GridComponentParams](https://grid.syidax.com/docs/types/GridComponentParams.md)
- [GridFocusHandoff](https://grid.syidax.com/docs/types/GridFocusHandoff.md)
