← DataGrid API

Type · v2.7.1

NgbDataGridDetailPredicate

Pure predicate deciding whether a row offers a detail disclosure.

Import

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

Declaration

type NgbDataGridDetailPredicate<T = unknown> = (row: T, index: number) => boolean;
Source: types/angular-bootstrap-ngbootstrap.d.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.