View as Markdown

API reference: @salmonui/data-grid/engine

RowValidatortype

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

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

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