← DataGrid API

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[]>;

Referenced types

Source: types/angular-bootstrap-ngbootstrap.d.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.

This project is not affiliated with ng-bootstrap or ngx-bootstrap. Those projects focus mainly on Bootstrap components for Angular. ngbootstrap focuses on Angular UI for data-heavy apps, especially Data Grid, Angular-native Form Builder, drag and drop workflows, documentation examples, and performance-focused Angular patterns.