← DataGrid API

Interface · v2.7.1

NgbDataGridState

Unified data-operation state with page, page index, skip, page size, sort, group, filter, and global filter.

Import

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

Declaration

Properties

page

1-based page number used by the DataGrid pager.

page?: number

pageIndex

0-based page index for API integrations that use page indexes.

pageIndex?: number

skip

Number of records skipped before the current page.

skip?: number

pageSize

pageSize?: number

sort

group

filter

globalFilter

globalFilter?: string

aggregates

Summary measures included in saved views and remote data-state notifications.

Referenced types

Source: src/datagrid/src/datagrid.types.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.