/** * DevExtreme (pdf_exporter.d.ts) * Version: 21.1.7 * Build date: Thu Aug 07 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { DxPromise } from './core/utils/deferred'; import dxDataGrid, { Column } from './ui/data_grid'; import { ExportLoadPanel } from './exporter/export_load_panel'; /** * @docid * @namespace DevExpress.pdfExporter * @type object */ export interface PdfDataGridCell { /** * @docid * @public * @type dxDataGridColumn */ column?: Column; /** * @docid * @public */ data?: any; /** * @docid * @public */ groupIndex?: number; /** * @docid * @public */ groupSummaryItems?: Array<{ /** * @docid */ name?: string; /** * @docid */ value?: any; }>; /** * @docid * @public */ rowType?: string; /** * @docid * @public */ totalSummaryItemName?: string; /** * @docid * @public */ value?: any; } /** * @docid * @namespace DevExpress.pdfExporter */ export interface PdfExportDataGridProps { /** * @docid * @default undefined * @public */ jsPDFDocument?: object; /** * @docid * @default undefined * @public */ autoTableOptions?: object; /** * @docid * @default undefined * @public */ component?: dxDataGrid; /** * @docid * @default false * @public */ selectedRowsOnly?: boolean; /** * @docid * @default true * @public */ keepColumnWidths?: boolean; /** * @docid * @type_function_param1_field2 pdfCell:Object * @public */ customizeCell?: ((options: { gridCell?: PdfDataGridCell; pdfCell?: any }) => void); /** * @docid * @public */ loadPanel?: ExportLoadPanel; } /** * @docid pdfExporter.exportDataGrid * @publicName exportDataGrid(options) * @return Promise * @namespace DevExpress.pdfExporter * @static * @public */ export function exportDataGrid(options: PdfExportDataGridProps): DxPromise;