Function · v2.7.0
ngbGroupData
Groups local arrays by one or more field descriptors and returns nested group metadata.
Import
import { ngbGroupData } from '@angular-bootstrap/ngbootstrap';Declaration
function ngbGroupData<T>(data: readonly T[] | null | undefined, descriptors: readonly NgbDataGridGroupDescriptor[] | null | undefined): NgbDataGridGroupResult<T>[];