← DataGrid API

Type · v2.7.0

NgbPagerDensity

Responsive pager density based on container width. - `full`: info, pagination, and page-size controls - `compact`: hides range info - `minimal`: hides range info and page-size controls (pagination remains)

Import

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

Declaration

type NgbPagerDensity = 'full' | 'compact' | 'minimal';
Source: src/pagination/src/pagination/pager-settings.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.