← DataGrid API

Interface · v2.6.0

NgbGridBatchController

Internal bridge between the host grid and its opt-in batch directive.

Import

import type { NgbGridBatchController } from '@angular-bootstrap/ngbootstrap';

Declaration

Methods

restoreBatch

restoreBatch(changes: NgbGridBatchRowChange<unknown>[], action: 'undo' | 'redo'): Promise<NgbGridBatchResult>

hasPending

hasPending(): boolean

value

value(rowId: unknown, field: string, fallback: unknown): unknown

dirty

dirty(rowId: unknown, field: string): boolean

error

error(rowId: unknown, field: string): string

onGridChange

onGridChange(): void

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.