Type · v2.7.0
NgbGridBatchValidator
Validator receives proposed changes and AbortSignal, returning cell errors or a Promise. Errors contain rowId, field and message.
Import
import type { NgbGridBatchValidator } from '@angular-bootstrap/ngbootstrap';Declaration
type NgbGridBatchValidator<T> = (changes: readonly NgbGridBatchRowChange<T>[], signal: AbortSignal) => readonly NgbGridBatchCellError[] | Promise<readonly NgbGridBatchCellError[]>;