← DataGrid API

Class · v2.7.0

NgbExportService

Delegates export calls to an injected PDF or Excel adapter.

Import

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

Declaration

Methods

exportPdf

exportPdf(p: PdfExportPayload): Promise<void>

exportExcel

exportExcel(p: ExcelExportPayload): Promise<void>

Referenced types

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