Interface · v2.6.0
NgbDataGridExportOptions
Export configuration for PDF/Excel, page source, file names, and adapter-specific options.
Import
import type { NgbDataGridExportOptions } from '@angular-bootstrap/ngbootstrap';Declaration
interface NgbDataGridExportOptionsProperties
enabled
enabled: booleantype
type: NgbDataGridExportTypepages
pages: NgbDataGridExportPagesfileName
fileName?: stringpdf
pdf?: {
pageSize?: 'A4' | 'Letter' | string;
landscape?: boolean;
margins?: [number, number, number, number];
}excel
excel?: {
sheetName?: string;
}