# tooltipValueGetter

Calculates tooltip content from the current cell context. Do not expose unauthorized values indirectly.

Canonical: https://grid.syidax.com/docs/columns/tooltipValueGetter/

<a id="meaning"></a>

## What does this API do?

Calculates tooltip content from the current cell context. Do not expose unauthorized values indirectly.

<a id="contract"></a>

## Exact input and result types

```typescript
tooltipValueGetter?: GridCallback<[ValueGetterParams<TData, TValue, TContext>], unknown> | string
```

| Item | Value |
| --- | --- |
| Required | Optional |
| Input type | GridCallback<[ValueGetterParams<TData, TValue, TContext>], unknown> \| string |

<a id="usage"></a>

## Usage flow

Set this on an individual column object in columnDefs. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="types"></a>

## Read related types

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

<a id="recipes"></a>

## Feature explanations and examples

- [Cell tooltips](https://grid.syidax.com/docs/features/tooltip.md) — Tooltips help users briefly inspect truncated names or long descriptions. Do not hide essential errors or guidance exclusively inside tooltips.
