# RowValidator (@salmonui/data-grid/engine)

> The RowValidator type of @salmonui/data-grid/engine.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/RowValidator

```ts
import type { RowValidator } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/edit`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: type

```ts
type RowValidator<Row> = (row: Row, ctx: RowValidationContext) => string | readonly string[] | null | undefined | PromiseLike<string | readonly string[] | null | undefined>;
```
