← DataGrid API

Type · v2.8.0

NgbDatagridTrackByFn

Track-by callback that returns a stable row identifier value.

Import

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

Declaration

type NgbDatagridTrackByFn<T> = (index: number, row: T) => NgbDatagridRowId;

Referenced types

Source: src/datagrid/src/services/editing.service.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.